Native Speed on the Web: JavaScript and asm.js
summary
Argues that compiled-to-JavaScript pipelines actually hit near-native speeds: C/C++ compiled with Emscripten into asm.js runs heavy apps like Unreal Epic Citadel and Banana Bread at around 58–60 fps, startup shrinking from ~20s to ~10s. Shows benchmarks (Box2D, Bullet) where asm.js often runs about two times slower or closer to native, explains the role of typed arrays, Math.fround for float32, SIMD proposal and web-worker/threading limits, and demos that work in current browsers.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:01HOW FAST IS JAVASCRIPT?
- 4:34Motivated asm.js, an easy to optimize
- 13:42INTERNET EXPLORER
- 21:133. THREADS
related talks
46mTurbocharging Client-Side Processing: Leveraging asm.js
27mSpeed, Speed, Speed: Javascript vs C++ vs WebAssembly
27mSpeed, Speed, Speed: JavaScript vs C++ vs WebAssembly
20mNot So Fast: Analyzing the Performance of WebAssembly vs. Native Code
33mHigh-Performance WebGL Apps with LLJS and asm.js
59mEmscripten and asm.js: C++'s role in the modern web
30mThe future of Javascript
33m"Is WebAssembly the killer of JavaScript"
