~/talk

Reinventing Rollup

Talkat ViteConf 2023 · 2023-10-05..10-06· [compilers-and-language-design, javascript]
links:none on file
slides:none on file

Rollup introduces concrete wins: the code‑splitting algorithm drops from 2 hours to a few seconds on a huge project; dynamic imports get tree‑shaking; a no‑side‑effects annotation marks functions once instead of per call; experimental chunk‑count reduction, side‑effect logging and a manual pure‑function override help shrink and reorganize output. Plugin API adds pre‑built chunks, emit‑only‑if‑referenced assets, a resolvedBy resolver trace and a richer logging API. Parser work swaps Acorn for SWC via Rust, hitting 51 ms native parsing and a smaller binary buffer for faster caching and future parallelism.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Code splitting improvements
  3. 2:10Tree shaking features
  4. 3:58Experimental side effects tools
  5. 5:23Plugin author features
  6. 7:54New logging API
  7. 9:21Performance bottlenecks
  8. 11:10Replacing the parser
  9. 13:45Binary syntax tree conversion
  10. 15:34Performance gains and caching
  11. 16:37Next steps in Rust
  12. 18:04Cost and availability
  13. 19:29Roll down project comparison
  14. 21:13Future features dream
~/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.