4 ms·
Why would anyone think Go and Rust are bitter rivals? They're great tools for different things, with a broad margin of overlap.
by JulianMorrison 11y ago
Why would anyone think Go and Rust are bitter rivals? They're great tools for different things, with a broad margin of overlap.
- falcolas 11y agoUltimately, they share a space - compiled, memory safe, and aimed at server-side development. The way they differ is mostly in how they approach memory safety, which gives them different performance characteristics.
- JulianMorrison 11y agoGo is about making every distraction from the thing you want to do go away. There's only one way to do it, built in and good enough. Batteries are included. Compiling is painless. Deploying is painless. Just add algorithm. Rust (which I understand less) seems to be about making a program that does exactly and only what you said, including deterministic memory. The safety is less about a general intent to be safe, and more about guaranteeing invariants that are needed by deterministic memory deallocation. Its natural hunting ground is real time - any program that has to finish things by deadlines.
- heinrich5991 11y agoRust isn't solely aimed at server space: E.g. we have servo, a browser engine.
- copperx 11y ago"aimed at" and "used for" are never disjoint sets.