~/talk

Blazing-Fast Lambda Calculus via Metaprogramming

Talkat Scala Days 2026 · 2026-10-12..10-13· [compilers-and-language-design]
links:none on file
slides:none on file

An interpreter for a tiny UPLC subset is replaced by a JIT that uses multi-stage metaprogramming and Scala staging to generate JVM lambdas at load time, turning lambdas into real function calls and mapping built-ins to primitives. Benchmarks on 89 Plutus scripts show median ~4x speedup versus a tuned Haskell CEK implementation (some cases up to 9x, one microbenchmark 33x); compile time falls from ~22s to <2s after fixing AST splicing, and correctness needs preserved evaluation order, lazy cases, and budgeting.

AI-written summary · about

  1. 0:00The problem of performance
  2. 2:53Lambda calculus in Cardano
  3. 6:24Reference CEK machine
  4. 8:46Benchmarking and optimization
  5. 10:06Tier 1 and staging approach
  6. 13:46Staged compiler implementation
  7. 17:08Performance demo results
  8. 18:46Addressing consensus bugs
  9. 21:14Optimizing compilation time
  10. 23:32Conclusion and use cases
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.