You are viewing a single thread.
View all comments
3 points

I don’t think it’s possible to make C++ safe without strictly limiting the user program to a subset of the language. There are guidelines for that (https://github.com/isocpp/CppCoreGuidelines) but even when I try to code in that style, I get to debug crashes the usual way. C++ makes some optimizations possible through e.g. move semantics that are absent from Rust and Ada but I wonder if it really matters these days. Rust seems to be displacing C++ for lots of new projects going forward.

permalink
report
reply

C & C++

!cpp@lemmy.ml

Create post

Community stats

  • 19

    Monthly active users

  • 73

    Posts

  • 41

    Comments

Community moderators