SBCL: the ultimate assembly code breadboard (2014)
yacin
138 points
7 comments
May 20, 2026
Related Discussions
Found 5 related stories in 82.1ms across 8,303 title embeddings via pgvector HNSW
- SBCL: A Sanely-Bootstrappable Common Lisp (2008) [pdf] pabs3 · 111 pts · March 12, 2026 · 67% similar
- SBCL Fibers – Lightweight Cooperative Threads anonzzzies · 65 pts · March 14, 2026 · 57% similar
- Z80-MBC2: a 4 ICs homebrew Z80 computer AlexeyBrin · 11 pts · March 15, 2026 · 54% similar
- I built a programming language using Claude Code GeneralMaximus · 110 pts · March 10, 2026 · 52% similar
- Clay PCB Tutorial j0r0b0 · 213 pts · April 26, 2026 · 52% similar
Discussion Highlights (3 comments)
dang
Related. Others? SBCL: The Assembly Code Breadboard - https://news.ycombinator.com/item?id=39859849 - March 2024 (19 comments) SBCL: Assembly code breadboard (2014) - https://news.ycombinator.com/item?id=28450473 - Sept 2021 (4 comments) SBCL: The Ultimate Assembly Code Breadboard (2014) - https://news.ycombinator.com/item?id=11959147 - June 2016 (2 comments) SBCL: The Ultimate Assembly Code Breadboard - https://news.ycombinator.com/item?id=7408807 - March 2014 (75 comments)
snazz
I’ve read this article every time it’s gotten posted here and it’s always gone a little over my head. I was able to follow how he used 8 x86_64 registers for the VM’s stack slots and how the VM instructions were implemented. How the padding and alignments of each version of the instructions was calculated is impressive and I can imagine how much of a chore it would be to figure out with a normal assembler. Using SBCL as a macro-assembler is extremely cool, and then allowing CL code to call into the VM is where it really blows my mind. Obviously it’s been over a decade since this article was written. For someone less familiar with SBCL internals (or CL in general), would something like AsmJit or Iced be a good way to achieve similar things?
BoingBoomTschak
https://www.stylewarning.com/posts/nbody/ might be a good addition, it showcases some higher level stuff added in sb-simd.