|
|
|
|
|
by zozbot234
1884 days ago
|
|
> It is hard to go back to writing, say, C or C++ once you have a few years of Rust experience ... You really start leaning on the affine types, the compile-time mutability xor aliasing checks, the pervasive checking of thread-safety... C++ has semi-official Core Guidelines issued by prominent members of the ISO-WG21 standard committee, that describe how to express these things idiomatically. Of course Rust can actually check these things automatically and achieve something close to actual memory safety, but there are ways to at least make a meaningful effort in C++. |
|
Yes you can make a meaningful effort in C++, but one of the great benefits of Rust is that effort is handled by the compiler instead.