Hacker News new | ask | show | jobs
by otabdeveloper2 2655 days ago
There is zero benefit to using Rust vs. C++ in a high-performance and memory-safe network server. C++ is better in every way you could think of.

(Rust is good idea, but about 10 years immature. Come back in 2029.)

1 comments

>There is zero benefit to using Rust vs. C++ in a high-performance and memory-safe network server.

Except for, you know, the part where Rust is actually memory-safe and C++ isn't.

It's possible and actual not difficult to write memory-safe C++ code. In the last several years the C++ projects I worked on had close to zero memory issues (I cannot recall any). I think with the advancements of C++14/17 memory issues is a largely solved problem.