~/talk

Algorithms in the Front End: from V8 to VDOM

TalkinRussianat OdessaJS 2018 · on Saturday, 2018-07-07· [javascript, frontend-architecture]
slides:none on file

Explains specific JavaScript engine and front-end optimizations: V8 migrated from fullcodegen to TurboFan with a 2017-added interpreter, uses hidden classes and enforces array/property ordering, and implements a sort using median-of-three with 200-step sampling plus tail-recursion elimination and insertion sort for small arrays. Presents measurable effects and microbenchmarks (recursion vs loop 2–10×), describes GC generational behavior, details React Fiber phases and priorities, and notes Angular template compilation cutting payloads by about 90% for actionable optimization guidance.

AI-written summary · about

  1. 0:00Algorithms introduction
  2. 7:13V8 engine evolution
  3. 12:50Data structures impact
  4. 18:34Recursion vs loops
  5. 23:36DOM algorithms
  6. 26:49React Fiber reconciliation
  7. 30:48Angular template compilation
  8. 35:30Virtual DOM overview
  9. 37:39Why study algorithms
~/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.