Rethinking compilers with live coding
summary
A browser-based live-coding system called The Gamma compiles an F#-like scripting language to JavaScript via Fable and avoids re-running expensive operations by building a fine-grained dependency graph caching nodes hashed from syntax and dependencies. Editing reparses the source but reuses previous nodes so only new nodes (e.g. changing blur radius) recompute; blurring previously hangs ~3s but updates that reuse cached results take ~400ms, and memory eviction is left as a pragmatic tradeoff.
AI-written summary · about
chapters (5)
- 0:00Start
- 22:15Interpreter for Variables
- 30:30Region Dependency Graph
- 34:38Dependency Graph
- 40:59Dependency Graphs
related talks
42mHacking F# in JS ecosystem
01h 16m“What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”
59mCompilers can be surprising
46mCompilers, User Interfaces & the Rest of Us
38mBuild your own Svelte 5
42mFunctional Programming in Anger
55mKeynote: Functionalist programming language design
33mThe Language of the Language: Comparing compiler construction in Clojure and F#
