Re:Revolt: Open-source alternative to Discord
by zozbot234 on Monday September 06, 2021 @02:38PM
(#28436646)
Golang is only memory safe if you're not using the concurrency features. It doesn't protect against data races which can break safety.
[ Parent
| on HN ]
Re:Revolt: Open-source alternative to Discord
by spopejoy on Thursday September 09, 2021 @12:39PM
(#28471623)
Rust hasn't magically solved concurrency safety either, as linearity is not enough.
GC'd languages (Java, Go, Haskell etc) are safer than Rust by default, you just have the tradeoff of GC. Note that this isn't always a tradeoff as GCs can outperform static allocation in scenarios like large dynamic heaps.
Haskell is the safest for concurrency because of the strictly typed functional semantics.