~/talk

JavaScript Engines: The Good Parts™

Talkat JSConf EU 2018 · on Saturday, 2018-06-02· [javascript]
slides:none on file

Modern engines V8, ChakraCore, SpiderMonkey and JSC are compared by concrete internals: V8 uses Ignition plus a tiered optimiser, ChakraCore and others use similarly named tiers, JSC uses three optimising compilers, and engines implement hidden classes (maps/shapes) to deduplicate property metadata. Inline caches record a seen shape and offset so property access becomes a cheap shape check, arrays use packed elements with implicit attributes, and calling Object.defineProperty on an element forces a slow dictionary backing (the infamous kitten penalty).

AI-written summary · about

  1. 0:00Start
  2. 1:36How Javascript Engines Work
  3. 2:16Spidermonkey
  4. 3:53Optimizing Compiler Pipeline
  5. 6:38Javascript Engines Implement the Javascript Object Model
  6. 8:01Array Indices
  7. 10:04Optimize Object Property Access Based on these Shapes
  8. 12:59Transition Chains
  9. 15:06Transition Trees
  10. 15:56Treatment for Object Literals
  11. 17:37Inline Caches
  12. 18:46Inline Cache
  13. 22:45Recap
~/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.