A, B, C. 1, 2, 3. Iterables you and me
summary
Explains how JavaScript implements the iterator and iterable protocols and shows concrete code: a range implemented first as an iterator then as a generator, a custom map/filter/take pipeline built over iterables, and an async variant using generators and async generators. Demonstrates laziness: the pipeline processed only five items instead of generating all 19/22 intermediate values, shows for-await-of for async pulling, and links a working proof‑of‑concept repository for state/side‑effect management using iterables.
AI-written summary · about
chapters (7)
- 0:00Introduction and speaker intro
- 1:34JavaScript iteration strategies
- 8:56Iterator protocol explained
- 15:45Generators and iterables
- 21:52Async iterators and streams
- 25:12Future of iterators in JavaScript
- 26:35Q&A and closing
related talks
28mWhat happens next: a choose-your-own-adventure with iterators
50mGenerators: A Hummer in the Stable?
24mGenerating async iterators is ekstreamly easy, I Promise ;)
38mRecursion, Iteration, and JavaScript A Love Story
51mThe Miracle of Generators
15mI Yield for Generators
35mJavascript Generators
30mJavaScript Generators — Practical Use Cases
