~/talk

Turbocharging Client-Side Processing: Leveraging asm.js

Talkat Spotlight: Advanced JS 2013 · on Saturday, 2013-12-07· [javascript, web-performance]
slides:none on file

Claims that JavaScript can run near-native speed by compiling hot, numeric code into asm.js and using M scripton to port C/C++ libraries. Performance lands roughly within 2x of native; Unreal Engine 3 becomes ~36 MB -> 17 MB gzip of JS and initial compile time drops from ~30s to ~5s, then to milliseconds with disk-cached async compilation. asm.js uses a single ArrayBuffer heap (no GC), requires manual memory copies, works well on workers, and lets existing libs like OpenCV, Box2D and codecs run inside regular web apps.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30asmjs
  3. 7:35how to use asmjs
  4. 12:22how to use existing libraries
  5. 13:49Script imports
  6. 14:38Getting data into asmjs
  7. 17:24Garbage collection
  8. 18:28Process Image Data
  9. 19:05Libraries
  10. 19:41Worker Threads
  11. 20:27WebSockets
  12. 23:23Asynchronous Script Loading
  13. 27:15Image Processing
  14. 29:05Data Analysis
  15. 30:17Face Login
  16. 31:58ImageVideo Codecs
  17. 34:16Mobile Web Apps
  18. 34:40Performance
  19. 35:12Mobile Performance
  20. 35:28Prerequisites
  21. 36:08Why use Lua
  22. 37:02Resources
  23. 37:34Questions
  24. 38:11Confidentiality
  25. 39:15Other demos
  26. 40:26Luke Wagner
  27. 41:19asmjs runtime
  28. 42:11asmjs script
  29. 43:19asmjs module
  30. 43:54asmjs type information
  31. 44:39more questions
  32. 45:09Firefox WebGL
~/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.