|
|
|
|
|
by bluGill
1043 days ago
|
|
Unfortunately far too many people writing C++ are not writing modern C++. Most writing C with classes. You can write memory unsafe code in rust, including memory management if you want - you just have to wrap it in unsafe which at least clues others in to watch this area carefully. In C++ you can put unsafe code anywhere. Sometimes unsafe is really needed, rust makes it hard enough to write unsafe code that you will only do that where you must and then jump back to safe code. In C++ you are likely to mix safe and unsafe code all over and that makes audits harder. |
|