~/talk

HTML-Aware ERB: The Path to Reactive Rendering

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, web-platform]
slides:none on file

Herb provides a real parser and grammar for HTML+ERB, with bindings for Rust/C/WebAssembly/Node/Ruby and an editor LSP that flags invalid HTML, ERB, or Ruby before runtime. An Herb engine compiles ERB into an HTML-aware instruction stream, supports Action View helpers, builds a render graph and reverse dependency index, and enables incremental updates. A dev server uses Herbie diff to hot‑patch views. Benchmarks show compile‑time optimizations up to 20x–150x in some cases; production reactivity primitives are implemented but not fully wired yet.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:51Introducing Herb parser
  3. 6:05ERB engines and HTML awareness
  4. 12:04Reactivity in web applications
  5. 15:33Building the render graph
  6. 17:37Tracing state dependencies
  7. 20:46Resolving helper dependencies
  8. 22:35Tracking DOM node references
  9. 24:19Development-time reactivity
  10. 28:11Compile-time optimizations
  11. 30:18Conclusion and release
~/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.