~/talk

Immutability, interactivity & JavaScript

Talkat FutureJS 2014 · 2014-05-06..05-21· [react, javascript]
slides:none on file

Claims that JavaScript engines' fast mutation enables persistent Vectors built from trees of arrays, with a 32-branching bitmapped vector trie that reaches ~34 billion indices in seven hops and updates by cloning only seven arrays. Implements this approach in Om (ClojureScript) + React and exposes it to JS via Mori library. Demonstrations: undo/redo for a todo app in a handful of lines, a 64×64 pixel editor with fast previews, and a memory test showing 1,000 saved frames as ~1.7 MB instead of ~210 MB.

AI-written summary · about

  1. 0:00Start
  2. 7:46Functional Programming and Data
  3. 9:40Sharing structure
  4. 9:56Phil Bagwell
  5. 10:12Bitmapped Vector Trie
  6. 11:03Persistent Vector
~/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.