~/talk

invokedynamic.js

Talkat JSConf EU 2014 · 2014-09-13..09-14· [javascript, nodejs]
slides:none on file

Builds a proof of concept that maps JVM-style call site relinking into JavaScript and implements invokedynamic in a JS VM by generating per-site bootstrap handlers, compiling specialized handlers and patching globals. Uses V8 internals and even edits C++ heuristics to force inlining. Naive message send is 5,000 times slower, handler linking cuts that to about 3× slower, type-specialized arithmetic gets to 25% slower, semantics for Smalltalk-like sends works and most of the remaining gap comes from VM compilation pipeline limits.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Semantic compilers
  3. 6:48invokedynamicjs
  4. 9:06numerics
  5. 14:30inline handlers
  6. 16:02constants
  7. 19:02conclusion
~/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.