Get the latest tech news

An Exploration of SBCL Internals (2020)


mmon Lisp implementation, with a performant compiler and support for a wide range of platforms. It has excellent documentation, and even a guide to internals (...

To follow along, we're assuming that you're reasonably familiar with Lisp, you're optimally not overly new to x86 assembly, and have SBCL installed (... my setup also includes Emacs and SLIME, but feel free to use whatever fits you best). We just turn the (numeric) address into a System Area Pointer, then iterate over offsets while printing hex numbers, inserting newlines at every 16th one. If parameter 1, coming in a register as per the relevant calling convention, is a 64-bit integer, we can treat it as such; if it's a pointer to a struct, different code gets generated.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of exploration

exploration

Photo of sbcl internals

sbcl internals

Related news:

News photo

Norway’s Oil and Gas Companies to Step Up Exploration This Year

News photo

Starfield review - a game about exploration, without exploration