~/talk

Eternal Sunshine of the Spotless Macro

slides:none on file

Survey of reflective models and code-generation techniques, with concrete demos: Smalltalk live reflection creates classes and rebinds object classes at runtime; Groovy AST transforms inject logging by modifying the AST; Scala 3 macros rewrite fluent assertions into plain asserts and implement a staged power function that compiles an integer exponent into O(log n) multiplications with hygienic renamed temps; and Java’s Project Babylon exposes a code model for procedural transformations. All examples compile and run; debugging expanded code relies on printed or compiler messages.

AI-written summary · about

  1. 0:00Meta programming intro
  2. 2:57Reflection systems
  3. 8:58Meta object protocols
  4. 13:22Generative programming
  5. 17:17Macros and compile-time
  6. 24:48Runtime macros and multi-stage
  7. 33:28Java’s meta limits
  8. 39:16Q&A
~/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.