~/talk

JavaScript Generators: The New Opening

Talkat JS Poland 2024 · on Thursday, 2024-11-07· [javascript, compilers-and-language-design]
slides:none on file

Claim: the new iterator prototype (stage 4) plus iterator helpers add array-like methods (map, filter, groupBy, take, toArray, drop) to iterators so pipelines run lazily. Benchmarks compare arrays vs iterators across datasets and show iterators can be dramatically faster — up to three orders of magnitude for multiple maps on large inputs — while tiny tests vary and JIT/dead-code elimination matter. Result: a lazy, memory‑efficient pipeline is available now and will become the canonical place for future data APIs.

AI-written summary · about

  1. 0:00Introduction to JavaScript Generators
  2. 3:02Why iterators matter now
  3. 8:35Dad joke and API shift
  4. 11:04Iterator prototype explained
  5. 16:42Benchmarking iterators vs arrays
  6. 19:30New iterator helpers proposal
  7. 23:09Future of iterators in JS
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.