~/talk

Is metaprogramming just functional programming?

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

Compares concrete examples: deriving a JSON encoder by mapping and folding over fields versus NeoForge’s static anonymous‑class and bytecode emission, shows Scala 3 quotes and the surprising inline warnings from scalac, demonstrates treating traversals as instruction lists with Cursor.replay, builds a view DSL that exposes a size‑hint problem because flatMap prevents compile‑time introspection, and even implements a type‑level Turing machine to show where “compile time” actually runs.

AI-written summary · about

  1. 0:00Introduction and definition
  2. 1:09Defining metaprogramming
  3. 2:13Comparing paradigms
  4. 4:18Code generation techniques
  5. 7:52Data as code
  6. 11:11Execution and compilation
  7. 14:58Introspection challenges
  8. 19:05Layers of execution
  9. 23:13Saving introspection
  10. 27:37Conclusion
~/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.