Here's a better analysis on C++ vs Rust:
https://pvs-studio.com/en/blog/posts/0733/
On Tue, Aug 3, 2021 at 1:58 PM Phil Bouchard via Std-Proposals <std-proposals@lists.isocpp.org> wrote:On 8/3/21 1:44 PM, Ivan Matek via Std-Proposals wrote: On a higher level other people have mentioned I am not sure you are doing your students favors by teaching them C++(except if you want to show them how low language primitives like arrays and malloc can be wrapped in nicer higher level language). Nobody can predict the future, but I would consider teaching them Rust. Rust is stricter on memory allocations but again it doesn't magically fix all problems.Nobody claimed it did. You don't have to "fix all problems" to fix *some* problems.Rust is not compatible with other languagesI don't know what you mean by that. Rust speaks C, just like most languages. You don't have to like Rust, but spreading easily-debunked FUD about it isn't helping anyone.
|
||||||||
Le message ci-dessus,
ainsi que les documents l'accompagnant, sont destinés
uniquement aux personnes identifiées et peuvent contenir
des informations privilégiées, confidentielles ou ne
pouvant être divulguées. Si vous avez reçu ce message par
erreur, veuillez le détruire. This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies. |