4 ms·
Go is good for onboarding people onto a project, but not much else. There's a reason Google is migrating Go services to Rust: https://www.theregister.com/2024
by hedora 2y ago
Go is good for onboarding people onto a project, but not much else.
There's a reason Google is migrating Go services to Rust:
https://www.theregister.com/2024/03/31/rust_google_c/ https://www.theregister.com/2024/03/31/rust_google_c/
> "When we've rewritten systems from Go into Rust, we've found that it takes about the same size team about the same amount of time to build it," said Bergstrom. "That is, there's no loss in productivity when moving from Go to Rust. And the interesting thing is we do see some benefits from it.
> "So we see reduced memory usage in the services that we've moved from Go ... and we see a decreased defect rate over time in those services that have been rewritten in Rust – so increasing correctness."
That matches my experience: Go serivces tend to be tire fires, and churn developers on and off teams pretty fast.
- krmboya 2y agoIsn't Go's concurrency model an advantage over other approaches?
- lmm 2y agoWhen it exactly fits your problem, yes. But it's not like you can't express that model in Rust (in a more cumbersome way) when you need to.
- foldr 2y agoYou'd expect a rewrite to take less time than development of the original system from scratch. So I'm not sure this is actually as favorable a result for Rust as it's presented.