~/talk

Parallelism experiments in JavaScript

Talkat JSConf US 2015 · 2015-05-27..05-29· [javascript, web-performance]
slides:none on file

Claim: JavaScript gains low-level primitives for parallelism using shared array buffer and shared Int32 views, not just heavier web workers. Benchmarks show postMessage runs ~54,000 messages/sec while the shared-memory example hits 6 million messages per second. Live builds on Nightly run a parallel Mandelbrot and a near-native Unity WebGL benchmark port that scales across 4–8 cores and reuses pthreads code. Implementation works and is being pushed toward standardization and cross‑browser adoption.

AI-written summary · about

  1. 0:00Introduction
  2. 0:37Concurrency vs Parallelism
  3. 2:08Evolution of the web
  4. 3:39JavaScript performance
  5. 4:25CPU utilization
  6. 5:33Why does this matter
  7. 7:00Parallelism in JavaScript
  8. 8:54Design considerations
  9. 11:50Shared Memory
  10. 14:52Shared array buffer
  11. 20:55Live demos
  12. 24:50Unity WebGL benchmark
  13. 27:09Unity 3D engine
~/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.