by eatonphil · 4y ago · 0 comments
My favorite is the slides on the development of Chez Scheme: http://icfp06.cs.uchicago.edu/dybvig-talk.pdf.
A few other good ones:
* Destination Driven Code Generation: https://legacy.cs.indiana.edu/~dyb/pubs/ddcg.pdf
* The Development of Chez Scheme: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.72...
Here's a pretty full list: https://www.researchgate.net/scientific-contributions/R-Kent....
It shows concretely how DDCG compares to common optimizations like peephole and top-of-stack caching.
And shows concrete examples of compiling various forms (expressions, assignment, control flow, etc) with DDCG.
The only reason it's on my personal Github is because the original is so hard to find.
I spent some time reading the r6ra discussions and was blown away by the thought that went into the whole thing. There are very few parts of the semantics of R6RS that are actually bothersome. The only thing I really don't like is promises and the dynamic environment.