~/talk

High-Performance WebGL Apps with LLJS and asm.js

Talkat CascadiaJS 2013 · 2013-11-14..11-15· [web-performance, webassembly]
slides:none on file

Describes how C/C++ compiled to JavaScript via Emscripten and a spec called asm.js yields near-native speed by using 32-bit integer tricks, typed arrays and no GC; shows a lljs extension that adds C-like pointers and stack allocation so vector math compiles to raw heap reads and writes. Demonstrates a WebGL cloth physics demo running ~20 ms in Firefox (~35 ms in Chrome), explains AOT compiled machine-code caching, and notes missing dynamic allocation and bugs.

AI-written summary · about

  1. 0:00Start
  2. 0:14James Long
  3. 6:17No Garbage Collection
  4. 12:53Chrome
  5. 14:36Current Benchmarks
  6. 16:40Low-Level Javascript
  7. 18:34Constructor Function
  8. 22:08Pointers
  9. 25:35Dynamic Allocation
  10. 27:19Cloth Demo
  11. 31:15Live Editor
~/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.