/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.ircmaxell.com
| | notes.eatonphil.com

Writing a lisp compiler from scratch in JavaScript: 1. lisp to assembly
3.8 parsecs

Travel
| |
| | cfallin.org

[AI summary] The article discusses the development of an Ahead-of-Time (AOT) compiler for JavaScript, leveraging precompiled inline-cache (IC) stubs. By moving runtime type binding to indirect calls, the compiler can generate static code, enabling full AOT compilation. This approach achieves significant performance improvements, with a 2.77x geometric mean speedup on various benchmarks. The article also explores further optimizations through profile-guided inlining, and compares this method with other AOT approaches like Hopc's type inference. The potential for future enhancements and the use of compiler backends derived from interpreters are also highlighted.
3.4 parsecs

Travel
| |
| | benhoyt.com

Mugo is a single-pass compiler for a tiny subset of the Go programming language - just enough to compile itself.
3.8 parsecs

Travel
| |
| | baatz.io


26.1 parsecs

Travel
|