News for hackers. Stuff that matters.
Re:Why Discord is switching from Go to Rust (2020) by felipellrocha on Monday February 22, 2021 @01:52PM (#26228674)
I think you're missing the point. The point is that you can get all those properties in Rust without the performance hit. (Except for, well, GC, obviously)
Re:Why Discord is switching from Go to Rust (2020) by jmaygarden on Monday February 22, 2021 @02:05PM (#26228905)
Rust does not build fast. It’s more comparable to C++ if not worse.
Re:Why Discord is switching from Go to Rust (2020) by drenvuk on Monday February 22, 2021 @02:31PM (#26229321)
that depends on your dependencies I believe. If the people who keep including serde into their crates would stop everyone would have faster compile times.

Stop using serde. please.

Re:Why Discord is switching from Go to Rust (2020) by saagarjha on Monday February 22, 2021 @03:08PM (#26229865)
Dependencies make this much worse, but Rust itself is not really very fast at being compiled.
Re:Why Discord is switching from Go to Rust (2020) by Shadonototro on Monday February 22, 2021 @02:11PM (#26229005)
The problem with rust is the language is kind of scary to learn, once you get past the learning curve, it is okay i guess

And on top of that iteration time is hurt because of both the language, the compiler perf, and the lifetime problems that you need to constantly think about

The benefits of using rust on other hand is non-negligible, i wish the team would focus on solving that kind of immediate problems

Re:Why Discord is switching from Go to Rust (2020) by unanswered on Monday February 22, 2021 @01:56PM (#26228756)
Lack of garbage is a pro, not a con.