logoalt Hacker News

zdragnar • today at 1:30 AM • 6 replies • view on HN

Why do you think Golang is no longer a reasonable choice?


Replies

vaughands • today at 1:38 AM

I suppose my comment sort of implies this. I think the naive knee jerk reaction is that if you can spit out perfect machine level code against a specification, then logically being closer to bare metal would help with performance. However, without knowing the details of how things worked it is tough to say whether it is truly "reasonable" or not.

But more importantly, the Typescript team themselves [1] picked Golang mostly out of ergonomics and ease of porting at the time. It is becoming more increasingly more to "taste" what ergonomics means. Notably, they did not pick it because they believed it to be the fastest option. But speed was on the mind, giving way to ergonomics and ease of porting. At least, this is my read.

[1] https://github.com/microsoft/typescript-go/discussions/411

➕ show 3 replies
lifthrasiir • today at 1:34 AM

Presumably because Rust is more suitable than Go in agentic coding? (I'm not sure, but that seems the purported answer.)

➕ show 1 reply
spankalee • today at 1:37 AM

Rust is better at targeting WebAssembly

➕ show 3 replies
sreekanth850 • today at 2:28 AM

Rust is more close to metal. No GC

➕ show 2 replies
conartist6 • today at 2:01 AM

Was it ever a reasonable choice? At the time the choice was made the tooling ecosystem was already split between Rust and JS, and by putting TS in Go they chose to split it three ways. Why not split it 4 or 5 ways then? The pressure will always be towards less duplicated work.

The only real choice of language to build the next generation of JS tools in is JS. Anything else is a vote of no confidence in ourselves.

➕ show 1 reply