TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Let's make a Teeny Tiny compiler

36 pointsby pavehawk2007almost 5 years ago

2 comments

dangalmost 5 years ago
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23441767" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23441767</a>
评论 #23862665 未加载
kerkeslageralmost 5 years ago
I&#x27;m sorry to be negative here, but this article, like most articles about compilers, is bike shedding.<p>For those not aware of the bike shedding metaphor, it&#x27;s the assertion that when discussing the design of a nuclear power plant, everyone will want to discuss the color of the shed where the workers store their bikes because they understand it. Meanwhile, nobody will want to discuss the nuclear reactor itself, because that&#x27;s complicated and they don&#x27;t really understand what&#x27;s going on with it.<p>In compilers, parsing is the bike shed, and code emitters are the nuclear reactor. I&#x27;ve read probably hundreds of articles on &quot;compilers&quot; at this point, and they&#x27;re all actually just about parsers. I can&#x27;t point to a single one that actually emitted working assembly.
评论 #23862401 未加载
评论 #23862387 未加载
评论 #23862541 未加载
评论 #23862397 未加载