News for hackers. Stuff that matters.
Re:Compiler basics: Lisp to Assembly by amelius on Monday November 26, 2018 @06:01AM (#18532463)
Ok, I get this is a DIY post, but wouldn't it make much more sense to use LLVM here? That way, you get low-level optimizations for free, and this allows you to focus on the rest of the language. You can always implement the code-generation part if you want to and have the time for it.
Re:Compiler basics: Lisp to Assembly by cloudhead on Monday November 26, 2018 @06:32AM (#18532576)
I think you answered your own question with the last sentence.
Re:Compiler basics: Lisp to Assembly by amelius on Monday November 26, 2018 @07:16AM (#18532752)
You could learn more from targeting an intermediate language than from targeting a specific architecture, imho.
Re:Compiler basics: Lisp to Assembly by vidarh on Monday November 26, 2018 @08:45AM (#18533275)
Maybe you learn "more". But you learn very different things.