logoalt Hacker News

spankaleetoday at 6:08 PM2 repliesview on HN

Yes, but no official builds yet that I know. This is a really important issue for online playgrounds and IDEs.


Replies

jakebaileytoday at 6:16 PM

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

show 1 reply
raddantoday at 6:16 PM

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?

show 1 reply