←back to thread

143 points todsacerdoti | 1 comments | | HN request time: 0s | source
Show context
norir ◴[] No.43594752[source]
The hardest part of writing a compiler is designing a language. In my opinion, most compiler courses seem too fixated on the implementation details. The fact that this course targets x86 already misses the mark for me. Computers are very fast, there is no reason to start with a language that translates to asm. This is incidental complexity that distracts from language design.
replies(4): >>43594903 #>>43594913 #>>43594938 #>>43595205 #
1. wseqyrku ◴[] No.43594903[source]
> The hardest part of writing a compiler is designing a language.

That's a completely separate field. If you want to learn about language design you should study that, though it helps if you have some background on both to get started with either one.