~/talk

Adventures in the vBuffer

Talkat Strange Loop 2017 · 2017-09-28..09-30· [web-animation, creative-coding]
slides:none on file

Builds a V-buffer renderer that diffs attribute buffers and files away WebGL boilerplate, then profiles it: initial version with lodash isEqual runs smoothly to ~1,000 objects, slows at ~3,000 and chugs at ~10,000; removing lodash and copying at the reconciliation boundary pushes 3,000+ smooth again. Compares plain JS, immutable-js and ClojureScript variants, finds immutables spur massive GC and drop to ~9–10 fps, while Chrome profiler and Safari’s Riptide concurrent GC reveal deep-equal and allocation hotspots. Practical takeaway: move the copy membrane and use mutable escape hatches where allocation costs matter.

AI-written summary · about

  1. 0:00Introduction and background
  2. 0:55The quest for digital art
  3. 2:04Adventures in web graphics
  4. 4:04The limitations of WebGL
  5. 7:25Understanding the V DOM
  6. 9:06Data structures for diffing
  7. 11:01WebGL pipeline secrets
  8. 12:55Procedural rendering calls
  9. 16:51Building the V buffer
  10. 19:03Performance bottlenecks
  11. 21:46Fixing the renderer
  12. 23:44Limiting factors and next steps
  13. 25:37Exploring immutability
  14. 28:06ClojureScript and memory
  15. 32:04Garbage collection insights
  16. 33:42Lessons in performance
  17. 36:36Artistic failure and conclusion
  18. 38:54Final thoughts and resources
~/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.