~/talk

JavaScript in JavaScript: Inception

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

Claim: modern JITs make hand‑written C++ unnecessary for many runtime helpers so implementable pieces run faster as JavaScript. Uses V8’s bootstrap pipeline: edit JS bootstrap files, use the V8 snapshot tool, apply macro expansion to generate one copy per numeric typed array and add TypedArray.prototype.forEach. Builds include the JS as precompiled code that the engine JITs to machine code. Live patch compiles after a few fixes and the new forEach runs correctly across the typed array variants.

AI-written summary · about

  1. 0:00Start
  2. 7:13How Much Javascript Is Using Engines
  3. 11:46Internal Compilation Error
  4. 16:05Macro Expansion
  5. 23:48Helper Functions
  6. 25:52Specification of Javascript
~/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.