News for hackers. Stuff that matters.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by chaosite on Sunday April 24, 2022 @01:10AM (#31141452)
ML utilizes continuous mathematics, while compiler design including static analysis usually favor discrete mathematics. I wouldn't say the concepts are interchangeable.

The classic text book is the Dragon Book. Another good start on the compiler side are projects like https://buildyourownlisp.com/.

A lot of people start with lexing, parsing, and so on before moving on, but you can start from the static analysis side too. I would look at the LLVM framework and the Clang Static Analyzer, and use one of the tutorials for that to write a small analyzer for C.

Re:Chris Lattner on garbage collection vs. Automatic Referen... by oikawa_tooru on Sunday April 24, 2022 @04:02AM (#31142117)
Thank you so much for the guidance!! I will look into it soon!!