Re:One Year After Switching from Java to Go: Our Experiences
by sn9 on Wednesday February 19, 2025 @12:34PM
(#43104823)
Discord had a pretty famous transition from Go to Rust [0].
[0] https://discord.com/blog/why-discord-is-switching-from-go-to...
Re:One Year After Switching from Java to Go: Our Experiences
by derekperkins on Wednesday February 19, 2025 @11:16PM
(#43111050)
They didn't have particularly great reasons to migrate at the time besides the team wanting to write rust. That article is just trying to provide validation
Re:One Year After Switching from Java to Go: Our Experiences
by sn9 on Thursday February 20, 2025 @09:20AM
(#43114935)
"With the Go implementation, the Read States service was not supporting its product requirements. It was fast most of the time, but every few minutes we saw large latency spikes that were bad for user experience. After investigating, we determined the spikes were due to core Go features: its memory model and garbage collector (GC)."
Re:One Year After Switching from Java to Go: Our Experiences
by packetlost on Wednesday February 19, 2025 @04:49PM
(#43108196)
Eh, I don't think iteration times in Rust are nearly as bad as you think. During a realistic development loop compilation is <1s in most situations thanks to incremental compilation and tests are fast unless you have synthetic slowdowns such as sleeps or IO (which would effect both languages equally).
Re:One Year After Switching from Java to Go: Our Experiences
by lexicality on Friday February 21, 2025 @05:37AM
(#43126048)
The entire point of writing rust is that you're trading writing speed for runtime safety. It takes longer to write but you can guarantee you're never going to have a nil pointer panic or race condition.
Unless you're doing something super weird your infra code is gonna be running for way longer than you spend writing it so who cares if it takes an extra 20%/30%/50%/whatever time to write?
I don't like commenting in language-war territory things but I found your comment surprising. "Rust or JVM" for infra isn't a dichotomy I would expect.