Live data from Hacker News

Let's make a Teeny Tiny compiler

austinhenley.com

1–10 of 39 posts

Re: Let's make a Teeny Tiny compiler

#4
I'm sorry to be negative here, but this article, like most articles about compilers, is bike shedding.

For those not aware of the bike shedding metaphor, it'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's complicated and they don't really understand what's going on with it.

In compilers, parsing is the bike shed, and code emitters are the nuclear reactor. I've read probably hundreds of articles on "compilers" at this point, and they're all actually just about parsers. I can't point to a single one that actually emitted working assembly.

Re: Let's make a Teeny Tiny compiler

#5

I'm sorry to be negative here, but this article, like most articles about compilers, is bike shedding. For those not aware of the bike shedding metaphor, it'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, becaus…

This tutorial is multipart, the code emitting is in the 3rd part.

Re: Let's make a Teeny Tiny compiler

#6

I'm sorry to be negative here, but this article, like most articles about compilers, is bike shedding. For those not aware of the bike shedding metaphor, it'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, becaus…

i have to agree, its like people get excited about getting something going and immediately write about the parser level and thats all you see

Re: Let's make a Teeny Tiny compiler

#7

I'm sorry to be negative here, but this article, like most articles about compilers, is bike shedding. For those not aware of the bike shedding metaphor, it'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, becaus…

Part 3 is the emitter that produces C: https://web.eecs.utk.edu/~azh/blog/teenytinycompiler3.html

Re: Let's make a Teeny Tiny compiler

#8

I'm sorry to be negative here, but this article, like most articles about compilers, is bike shedding. For those not aware of the bike shedding metaphor, it'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, becaus…

This tutorial is multipart, the code emitting is in the 3rd part.

I'll believe it when I see it.

Re: Let's make a Teeny Tiny compiler

#9

Earlier quoted context omitted.

This tutorial is multipart, the code emitting is in the 3rd part.

I'll believe it when I see it.

The emitter was released 11 days ago. The links to part 2 and 3 are in the first line of this blog post.
Post reply on HN