Rolldown RFC brings import defer: Hono app boots 46% faster in Node.js, 66% in workerd
cnakazawa · x · 2026-11-24
Rolldown maintainer IWANABETHATGUY opened an RFC to implement the TC39 Deferring Module Evaluation proposal, adding import defer as ns and import.defer().
- Deferred modules skip evaluation at startup and run synchronously on first use — no await needed, unlike dynamic import().
- Benchmarks: a Hono app with 4 deferred routes saw Node.js startup drop from 35.8ms to 19.5ms (46% faster) and workerd from 59.4ms to 20.1ms (66% faster), with only a 0.26% bundle size increase (medians of 30 runs, Node 26.8.1, M3 Pro).
- The RFC covers configuration, tree shaking, plugin API, Vite dev mode, and eager-evaluation fallbacks; implementation is split across stacked PRs #11861–#11869, with community feedback requested.
More from coding & agent
- Google veteran: the hardest part of agentic coding is porting people, not code — tianyin_xu · 2026-11-24
- OpenAI and Cisco open-source a Linux runtime built for self-defending infrastructure in the agentic era — JosephJacks_ · 2026-11-24
- One coordinator bot plus specialists: a practical structure for delegating work to Grok Bot — Harshit_Ahluwalia · 2026-11-24
- "All tests passed" means little when the agent ran the wrong test suite — yashna005 · 2026-11-24
- Clanker Cloud rolls out redesigned Workspace UI with sessions, files and multi-agent orchestration — tekbog · 2026-11-24
- The Devin Bots pushback: scheduled tests catch regressions cheaper — make the agent earn its bill — krishnan · 2026-11-24