~/talk

Speed, Speed, Speed: JavaScript vs C++ vs WebAssembly

slides:none on file

Node.js supports WebAssembly modules and native C++ addons and the benchmark compiles a C++ prime-number algorithm straight to WebAssembly and runs the same algorithm in V8. JavaScript running with V8’s baseline then Turbofan optimizing compiler is about twice as slow as native C++ on the prime-number test; with optimization disabled it balloons (examples show ~80s vs <20s). WebAssembly sits between them, very close to native with only a small call-overhead.

AI-written summary · about

  1. 0:00Start
  2. 3:34WARNING!
  3. 7:15PROPERTY LOOKUP
  4. 11:11SPECULATIVE OPTIMIZATION
  5. 11:32Sourcecode
  6. 12:22OPTIMIZING COMPILER
  7. 16:49Baseline x86 assembly
  8. 21:52WEBASSEMBLY
  9. 24:29SPEED, SPEED, SPEED
~/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.