~/talk

Life of a Clojure Expression

Talkat Clojure/West 2015 · 2015-04-20..04-22· [compilers-and-language-design]
slides:none on file

Follows one map literal from source through the reader, analyzer, bytecode emitter and runtime, showing that a two-key map becomes a persistent array map (<=8 entries) and that constant keys are emitted as static constants, the compiler calls RT.mapUniqueKeys and emits ASM bytecode via ASM so HotSpot can inline the size checks. Relies on Compiler.java (8500+ lines) and shows the compiled class extending AFunction with a single invoke method returning the constructed map.

AI-written summary · about

  1. 0:00Start
  2. 0:20Disclaimers
  3. 4:14Lisp Breeder Java
  4. 4:42Map Reader
  5. 7:05Eval
  6. 10:16Macro Expand
  7. 23:56Static Method Invocation
~/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.