~/talk

Stak Scheme: The tiny R7RS-small implementation

Talkat Scheme 2025 · on Thursday, 2025-10-16· [rust]
links:none on file
slides:none on file

Stak Scheme implements a full R7RS-small system with a claimed 10 KLOC core: a bytecode compiler in 1.6 KLOC of Scheme and a 1.5 KLOC Rust VM. It supports library system, hygienic syntax-rules macros, continuations, exceptions and a full eval, and uses a unified in-memory graph ↔ serialized bytecode encoding/decoding to preserve shared nodes and compiler state. Binary is larger than some prior tiny implementations but remains compact, and benchmarks show performance comparable to other Scheme runtimes for embedded scripting use cases.

AI-written summary · about

  1. 0:00Stak Scheme intro
  2. 1:31Ruby Scheme and R7RS-small
  3. 3:43VM design and code
  4. 7:25Code graph and snapshots
  5. 11:52Procedures and compilation
  6. 14:07Macros and libraries
  7. 15:58Compactness vs performance
  8. 19:33Future work and security
  9. 21:22Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.