Grilled Cheese

ExploreLog inSign up

Rob Palmer

@robpalmer.bsky.social

793 Following8.2k Followers

JavaScript Infrastructure & Tooling at Bloomberg. Co-chairing TC39. Likely to tweet tech stuff about JS & software performance. Opinions are my own.

PostsRepliesMedia
@robpalmer.bsky.socialDec 6, 2026, 12:17 AM

Gulp is excellent. (it's been a while since I last said that)

@robpalmer.bsky.socialDec 5, 2026, 8:30 PM

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.

@robpalmer.bsky.socialDec 5, 2026, 8:27 PM

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.

@robpalmer.bsky.socialDec 5, 2026, 9:30 AM

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.

tangled.org/nibling.dev/...

Comparison table of size/startup/throughput.

Source:  https://tangled.org/nibling.dev/typestrip/blob/main/docs/benchmarks.md#erase-mode-erasable-syntax-only
@robpalmer.bsky.socialDec 4, 2026, 8:11 PM

I am a fan of eliminating codegen during TS->JS conversation because simplicity sidesteps problems. --disableDynamicImportExtensionRewriting seems directionally aligned with that šŸ‘

@robpalmer.bsky.socialDec 4, 2026, 8:08 PM

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

TTypeScript@typescriptlang.orgDec 4, 2026, 7:11 PM

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...

Bar chart comparing build times in seconds for TypeScript 7 and 7.1 RC: bluesky, 3.97 to 3.3; mui-docs, 19.1 to 8.77; sentry, 17.5 to 12.8; t3code-server, 23 to 16.9; vscode, 19.4 to 14.9.

Build times are lower with 7.1 RC for every project.Bar chart comparing peak memory in MiB for TypeScript 7 and 7.1 RC: bluesky, 2,036 to 1,466; mui-docs, 7,043 to 3,580; sentry, 6,459 to 4,668; t3code-server, 6,716 to 4,768; vscode, 8,401 to 6,162.

Memory usage is lower with 7.1 RC for every project.
@robpalmer.bsky.socialDec 2, 2026, 10:33 PM

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.

@kettanaito.comDec 2, 2026, 10:21 PMReposted by @robpalmer.bsky.social

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.

RRob Palmer@robpalmer.bsky.socialDec 2, 2026, 7:34 PM

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...

Rolldown now support import defer
Heavy modules run on first use, so the app starts 40% to 62% faster
@robpalmer.bsky.socialDec 2, 2026, 9:34 PM

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.

RRob Palmer@robpalmer.bsky.socialDec 2, 2026, 7:34 PM

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...

Rolldown now support import defer
Heavy modules run on first use, so the app starts 40% to 62% faster
@robpalmer.bsky.socialDec 2, 2026, 7:34 PM

Proposal repo:

github.com/tc39/proposa...

github.comGitHub - tc39/proposal-defer-import-eval: A proposal for introducing a way to defer evaluate of a moduleA proposal for introducing a way to defer evaluate of a module - tc39/proposal-defer-import-eval
@robpalmer.bsky.socialDec 2, 2026, 7:34 PM

Rolldown benchmark of import defer

github.com/IWANABETHATG...

github.comGitHub - IWANABETHATGUY-reproduction/rolldown-import-defer-bench: Startup bench for `import defer` in Rolldown: a Hono app for workerd with four deferred routesStartup bench for `import defer` in Rolldown: a Hono app for workerd with four deferred routes - IWANABETHATGUY-reproduction/rolldown-import-defer-bench
@robpalmer.bsky.socialDec 2, 2026, 7:34 PM

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...

Rolldown now support import defer
Heavy modules run on first use, so the app starts 40% to 62% faster
@typescript.fmDec 2, 2026, 3:32 PMReposted by @robpalmer.bsky.social

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

share.transistor.fmSolid 2.0 Is Here, a Type Stripper Built with Zena, and Modern Web Guidance for Your Agent | News | Ep 90News for November 2026 on TypeScript.fm
@robpalmer.bsky.socialDec 1, 2026, 7:55 PM

Correct - that does not work. import defer only works with namespace imports today.

@robpalmer.bsky.socialDec 1, 2026, 7:39 PM

Repo: github.com/tc39/proposa...

github.comGitHub - tc39/proposal-fma: Fused Multiply AddFused Multiply Add. Contribute to tc39/proposal-fma development by creating an account on GitHub.
@robpalmer.bsky.socialDec 1, 2026, 7:39 PM

Slides presented today:

docs.google.com/presentation...

docs.google.comFMA 2Fused Multiply-Add Waldemar Horwat
@robpalmer.bsky.socialDec 1, 2026, 7:39 PM

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.

@robpalmer.bsky.socialDec 1, 2026, 7:30 PM

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 šŸ‘

github.com/tc39/proposa...

github.comGitHub - tc39/proposal-import-text: A TC39 proposal for importing textA TC39 proposal for importing text. Contribute to tc39/proposal-import-text development by creating an account on GitHub.
@43081j.comNov 27, 2026, 5:06 PMReposted by @robpalmer.bsky.social

hacking away vercel/fun - 1.4.1 drops ~2.9MB and 8 deps! šŸŽ‰

1.4.1 of @vercel/fun. install size decreased by 2.9MB, 8 dependencies removed.
@robpalmer.bsky.socialNov 27, 2026, 6:35 PM

github.com/nodejs/node/...

github.com
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST