News for hackers. Stuff that matters.
Re:Ask HN: What are things a programmer should do at least o... by fahimulhaq on Sunday May 08, 2016 @05:12AM (#11653310)
Write a compiler. It gives you great insights into parsing/tokenizing, building syntax trees, implementing syntax and Symantec checks and code generation. Obviously, you would have to pick a toy language (typically a subset of a known programming language) and your generated code will be inefficient. Still, you would learn a lot.
Re:Ask HN: What are things a programmer should do at least o... by dmlittle on Monday May 09, 2016 @08:01PM (#11664267)
I'd add writing compiler optimizations as well. Common subexpression elimination, dead code-elimination, copy propagation, register allocation to name a few.