~/talk

JVM Creature Comforts

Talkat Clojure/conj 2014 · 2014-11-20..11-22· [clojure]
slides:none on file

The JVM gains a function-pointer style instruction — invokeDynamic — the first new bytecode since 1995 and can be used to cache VAR dereferences via a switchpoint var caching pattern that matches a “direct” branch in microbenchmarks; Nashorn demonstrates optimistic typing and a try/catch method‑handle trick to recompile on type failure and reaches performance competitive with V8; the Graal/Truffle stack lets language interpreters evolve AST nodes, inline across calls (even C into Ruby) and hand optimized machine code to the VM, but costs heavy warmup, poor stack traces, no Android support and currently single‑threaded.

AI-written summary · about

  1. 0:00Start
  2. 5:38quantum Clojure (1/2)
  3. 10:16bytecode acrobatics
  4. 17:59SWITCHPOINT
  5. 34:44JRuby 3 Truffle
~/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.