In the world of optimized type-stripping TS->JS compilers...
`typestrip` by @natemoo.re shows impressive peak performance in throughput, startup time, and binary size.
The docs have now been updated to be easier to read.

@robpalmer.bsky.social
JavaScript Infrastructure & Tooling at Bloomberg. Co-chairing TC39. Likely to tweet tech stuff about JS & software performance. Opinions are my own.
Gulp is excellent. (it's been a while since I last said that)
It's not specific to you. That is by design for strict "fixed width" type stripping. typestrip also has a transform/codegen mode called "downlevel" that can handle the runtime TS features you listed.
I don't think it's cheating like that š There are other test cases that cover more regular cases that did not fit in my screenshot.
In the world of optimized type-stripping TS->JS compilers...
`typestrip` by @natemoo.re shows impressive peak performance in throughput, startup time, and binary size.
The docs have now been updated to be easier to read.
I am a fan of eliminating codegen during TS->JS conversation because simplicity sidesteps problems. --disableDynamicImportExtensionRewriting seems directionally aligned with that š
TypeScript 7.1 RC is out š š¶ Import Attributes š¶ Source Phase Imports š¶ Types: es2026 š¶ Types: Promise.allKeyed, Iterator.zipKeyed š¶ Types: Iterator chunks/join/includes š· An API for tooling ⨠š· tsconfig: Content Mappers š· --disableDynamicImportExtensionRewriting š· Perf: 25% faster, 25% less memory
TypeScript 7.1 will soon bring a new API, content mappers, new JS features, and build your projects 25% faster using 25% less memory. Today we're making TypeScript 7.1 RC available. Read up, try it out, and let us know how it goes! devblogs.microsoft.com/typescript/a...
This is lazy evaluation, not lazy loading. Fetch and parse remains eager. Equally this is not evaluate-on-idle. There's scope for further evolution. I hope we get there.
I am REALLY looking forward to this. It's a game changer. Analyzing the imports in my apps and making most of them deferred/lazy has improved the initial render and overall performance tremendously. I want this API.
ECMAScript excitement š Congrats to IWANABETHATGUY on shipping @tc39.es Stage 3 Import Defer in Rolldown v1.4.0 š import defer * as ns from "./heavy.js" await stuff(); ns.property; // heavy.js is eval'd on first access It's lazy evaluation š github.com/rolldown/rol...
Import Defer is a big deal for Web performance. Notice the app start times decreasing by 40-62% š„ It achieves this by deferring work to when it is needed, rather than executing it eagerly.
ECMAScript excitement š Congrats to IWANABETHATGUY on shipping @tc39.es Stage 3 Import Defer in Rolldown v1.4.0 š import defer * as ns from "./heavy.js" await stuff(); ns.property; // heavy.js is eval'd on first access It's lazy evaluation š github.com/rolldown/rol...
Proposal repo:
Rolldown benchmark of import defer
ECMAScript excitement š
Congrats to IWANABETHATGUY on shipping @tc39.es Stage 3 Import Defer in Rolldown v1.4.0 š
import defer * as ns from "./heavy.js"
await stuff();
ns.property; // heavy.js is eval'd on first access
It's lazy evaluation š
Sorry for the delay! Solid 2.0 is finally here, a ~15kB type stripper built with Zena, and Chrome's Modern Web Guidance for your coding agent. Plus: the SquiggleConf 2027 CFP, Linux in WebAssembly, pure-CSS graphs, and the No AI Slop Manifesto. share.transistor.fm/s/f9178037 #typescript
Correct - that does not work. import defer only works with namespace imports today.
Slides presented today:
ECMAScript excitement š
Congrats to Waldermar Horwat on advancing Math Fused Multiply Add to Stage 2.7 at @tc39.es today š
const XtimesYplusZ = Math.fma(x, y, z)
It performs X Ć Y + Z without intermediate rounding. The operation is mandatory in IEEE 754-2008 and so often has hardware support.
ECMAScript excitement š
Congrats to Eemeli Aro @mozilla.org on advancing Import Text to Stage 4 at @tc39.es today š
import text from "./path/to/file.txt" with { type: "text" }
It uses an import attribute for easy loading š
hacking away vercel/fun - 1.4.1 drops ~2.9MB and 8 deps! š