4 ms·
This is a bit Haskell oriented, but the "Implementation of Functional Programming Languages" by SPJ is one of my all time favorite books. https://simon.peytonj
by fooker 3y ago
This is a bit Haskell oriented, but the "Implementation of Functional Programming Languages" by SPJ is one of my all time favorite books.
https://simon.peytonjones.org/slpj-book-1987/ https://simon.peytonjones.org/slpj-book-1987/
These compilers were pulling heroic data structure optimization stunts in 1985, that no modern production compiler for major compiled languages can replicate in 2024.
- thewakalix 3y agoWhy? Is it mostly because of Haskell's purity (side-effect-freeness), so optimizations can change expressions more freely and safely?
- fooker 3y agoThat, and the uniform s-expr/gadt representation of data structures instead of going wild with clever pointers.
- nxobject 3y agoHuh – I didn't know he'd left MSR for Epic Games.
- nequo 3y agoHe did. He’s working on a new language called Verse now: https://dev.epicgames.com/documentation/en-us/uefn/verse-language-reference https://dev.epicgames.com/documentation/en-us/uefn/verse-lan...
- fooker 3y agoHuh interesting. The language seems sort of complicated for the domain (gameplay scripting).