22 ms·
I believe that the main value proposition from Rust lang, is more about the safety guarantees, without having a GC that can add some uncertainty for execution t
by seren 8y ago
I believe that the main value proposition from Rust lang, is more about the safety guarantees, without having a GC that can add some uncertainty for execution time. (I don't know Go but it seems the GC pauses are very short, so if you don't have hard real time constraint Go GC is probably not that a big issue)
So basically use Rust, wherever you need C or C++ performances and you cannot afford to have a bug. So critical piece of the infrastructure, OS, critical embedded systems... It is probably easier to write correct concurrent Rust than C.
The fact that you can easily create static binaries that will run on Linux or Windows is nice, but I don't think this is the biggest differentiator.