News for hackers. Stuff that matters.
Re:Why Discord is switching from Go to Rust by spullara on Tuesday February 04, 2020 @02:24PM (#22239850)
100%. In Java, you would often use OpenHFT's ChronicleMap for now and hopefully inline classes/records in Java 16 or so.
Re:Why Discord is switching from Go to Rust by cgh on Tuesday February 04, 2020 @02:59PM (#22240259)
Ehcache has an efficient off-heap store: https://github.com/Terracotta-OSS/offheap-store/

Doesn't Go have something like this available? It's an obvious thing for garbage-collected languages to have.

Re:Why Discord is switching from Go to Rust by mappu on Tuesday February 04, 2020 @06:27PM (#22242286)
You can usually resort to `import C` and using `C.malloc` to get an unsafe.Pointer.