Folding Space and Time
summary
Claims concrete wins: bundling plus uglify cuts boot time roughly in half; pkg binaries package Node with a runtime and yields about a 20% faster start in v4; precompilation (prepack, Babel plugins) folds constants and compiles markdown to JSX ahead of time; the app prefetches code and data to make UI actions feel immediate; search uses a newline‑delimited streaming protocol to stream partial results; APIs are deployed via DNS anycast (San Francisco, Brussels ~40ms) to reduce latency.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:19Optimization
- 10:31Code Splitting
- 11:23Bundling Javascript
- 12:49Rendering
- 13:11Server Rendering
- 21:24Constant Folding
- 25:28Compiling Markdown Ahead of Time
- 27:30Code Prefetching
- 27:42Link Component
- 32:33Back-End
- 35:08Streaming Protocol
- 36:57Pre-Rendering
- 38:49Paralyzing as Opposed to Concurrency
- 40:42Intersection Observers
related talks
45mBuilding Isomorphic Apps (Updated)
09mKeynote Feature: Infrastructure
10mHow Bun Makes Building React Apps Simpler & Faster
16mRealtime Webpack - Pushing on-demand bundling to the limits
34mOptimizing Performance in Large-Scale React & Node.js Applications
25mProgressive Rendering – how to make your app render sooner
11mNode.js Performance Optimizations
27mBuilding Angular Applications like Google
