3 ms·
That's a confusing statement -- JS/Node and Golang are comparable (memory safe) languages for API server backends.
by cjbprime 5y ago
That's a confusing statement -- JS/Node and Golang are comparable (memory safe) languages for API server backends.
- zozbot234 5y agoGolang is only memory safe if you're not using the concurrency features. It doesn't protect against data races which can break safety.
- spopejoy 5y agoRust 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.