News for hackers. Stuff that matters.
Re:TypeScript 7 by spankalee on Wednesday July 08, 2026 @02:08PM (#48835231)
Yes, but no official builds yet that I know. This is a really important issue for online playgrounds and IDEs.
Re:TypeScript 7 by jakebailey on Wednesday July 08, 2026 @02:16PM (#48835360)
Hoping to start getting Wasm builds out soon; it's a little unclear what people want when they say "Wasm", because it could mean

- LSP monaco - the API in the browser - the CLI in Wasm for platforms we couldn't build

which muddies the water a bit, but I'm sure we can get it working

Re:TypeScript 7 by notnullorvoid on Wednesday July 08, 2026 @05:22PM (#48837623)
I think all 3 are pretty important for using TS in online sandboxes and IDEs.
Re:TypeScript 7 by raddan on Wednesday July 08, 2026 @02:16PM (#48835354)
I am a little surprised that they rewrote the compiler in Go instead of just compiling the existing compiler to WASM. The linked announcement does not talk about a WASM alternative at all (rewriting a compiler is a risky move!). Does anybody know what the rationale was to do a full rewrite? The article really emphasizes speed, but not much else. Was it Go's concurrency affordances that made the switch worthwhile?
Re:TypeScript 7 by jakebailey on Wednesday July 08, 2026 @02:17PM (#48835387)
The compiler was written in TS; it wouldn't make much sense to compile TS to Wasm, only to have that same code run in the same interpreter as the JS code.

And yes, threading was a big part of it. See also: https://devblogs.microsoft.com/typescript/typescript-native-...