~/talk

Why are Angular and React so fast?

TalkinRussianat JavaScript fwdays'19 · on Saturday, 2019-03-16· [react, frontend-architecture]
slides:none on file

Explains why Angular and React achieve high raw speed by changing object layouts and data representation so JavaScript engines (V8) can use monomorphic property access and inline caches/feedback vectors to optimize hot paths, yielding up to ~100× faster property reads versus megamorphic access. Describes packing flags into 32-bit bit‑fields to avoid allocations and using a small Bloom filter for hierarchical dependency injectors (up to 255 services) to skip lookups, reducing GC pressure and pointer indirection.

AI-written summary · about

  1. 0:00Welcome
  2. 1:04Angular and React speed
  3. 3:39Introduction
  4. 4:02JS optimization
  5. 4:22Monomorphism in property access
  6. 7:14Why monomorphism matters
  7. 9:19V8 hidden classes
  8. 12:50Inline cache speed
  9. 14:38Angular/React monomorphism
  10. 18:26React bit fields
  11. 22:08React effects with bit fields
  12. 23:10Bit fields for objects
  13. 27:10Bloom filters explained
  14. 31:28Angular injectors
  15. 35:28Angular DI with Bloom filters
  16. 36:09Q&A
  17. 37:31Summary
~/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.