News for hackers. Stuff that matters.
Re:Why Discord is switching from Go to Rust by dilyevsky on Tuesday February 04, 2020 @02:26PM (#22239868)
LOL that should’ve been at the top. The improvement in gc between 1.9 and 1.12 is absolutely massive. They could’ve just upgraded go toolchain.
Re:Why Discord is switching from Go to Rust by kerkeslager on Tuesday February 04, 2020 @02:56PM (#22240227)
The GC changes in 1.12 supposedly target large heaps, which is not Discord's situation.
Re:Why Discord is switching from Go to Rust by dilyevsky on Tuesday February 04, 2020 @03:11PM (#22240381)
This post needed a lot more depth to really understand what was going on. Statements like

> During garbage collection, Go has to do a lot of work to determine what memory is free, which can slow the program down.

read like blogospam to me (which it is).

For comparison sake - similar post from Twitch has a lot more technical detail and generally makes me view their team in a lot better light than Dicord’s after reading both.

Re:Why Discord is switching from Go to Rust by lostcolony on Tuesday February 04, 2020 @06:50PM (#22242456)
Really? My take was that it was. They mention a bunch of cached data, that rarely got ejected (so not generating a lot of garbage), but that took a long time to traverse (so when GC DID occur, it took a long time), which implies it being large.