Overview
Explore the world of immutable data structures for functional JavaScript in this JSConf EU talk. Discover how persistent data structures efficiently create new versions of immutable objects by reusing unchanged parts, addressing performance concerns in functional programming. Learn about the benefits of immutability, the inner workings of these data structures, and their implementation using libraries like Mori and Immutable.js. Gain insights into techniques such as path copying, TRY trees, branching trees, and bit-partitioned vectors. Understand how these concepts can be applied to enhance your JavaScript code and improve overall program efficiency.
Syllabus
Intro
Immutability
Problems with mutability
Immutable data structures
Magic tricks
Trees
Path copying
TRY trees
Branching trees
Bit partitioned vector
Recap
Immutable JS
immutablejs
comparison
Taught by
JSConf