~/talk

Programming with Something

Talkat RubyConf 2021 · 2021-11-08..11-10· [ruby]

Shows how to represent proc-encoded code as an AST from procs by calling procs with variable objects and monkey‑patching [], implements Church-style substitution reduction and a full evaluator, adds constants and closures for decoding, then speeds it with a SECD machine (stack/env/control/dump) and a C backend tied via FFI. Concrete results: native proc fizzbuzz ~18s, naive AST interpreter ~2 hours, SECD Ruby ~3 minutes (~40× faster than naive), C SECD ~1 minute (~3× faster than Ruby SECD).

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Encoding
  3. 3:27Implementation
  4. 7:10Representation
  5. 13:55Evaluation
  6. 20:29Decoding
  7. 22:49Demo
  8. 31:19Conclusion
~/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.