~/talk

Rusty Runtimes: Building Languages In Rust

Talkat Strange Loop 2016 · 2016-09-16..09-17· [rust]
github:deech
slides:none on file

A compiler for a small garbage collected Scheme‑like language called K Lambda is implemented entirely in Rust and outputs Rust code; parsing uses nom macros, runtime values are reference‑counted, currying forces many cloned captures, and tail calls are handled with a generated trampoline loop. Benchmarks show the implementation is slow but tiny in memory — a cons list run takes about seven minutes while others finish in seconds and holds near 5.5 MB. It works but is naive and needs more static analysis and fewer clones.

AI-written summary · about

  1. 0:00Overview
  2. 1:41Rust
  3. 6:44Parsing a string
  4. 8:50Parsing Symbols
  5. 9:33Writing A Macro
  6. 13:04Example
  7. 17:37Code Generation
  8. 21:44Tail Calls
  9. 26:28Benchmarks
  10. 28:59Lessons learned
~/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.