An Exploration of SBCL Internals (2020)

SBCL is a Common Lisp implementation with a high-performance compiler available on many platforms. The paper explores SBCL’s unique build process and aims to introduce readers to the internal workings of a Lisp system. By discussing memory representation of Lisp objects, function objects, and more, the author breaks down complex concepts in a beginner-friendly way. Surprising insights include modifying machine code to change function output and the use of tagged pointers for type identification. The article also provides tools to explore memory contents and showcases how Lisp objects are structured, shedding light on the inner workings of SBCL.

https://simonsafar.com/2020/sbcl/

To top