@seth to [email protected] • edit-28 months agoC++ creator rebuts White House warningwww.infoworld.comexternal-linkmessage-square97arrow-up1155arrow-down112file-textcross-posted to: [email protected]
arrow-up1143arrow-down1external-linkC++ creator rebuts White House warningwww.infoworld.com@seth to [email protected] • edit-28 months agomessage-square97file-textcross-posted to: [email protected]
minus-square@marcoslink12•8 months ago C++ is leagues above C in this regard. It’s really not. It has the same flaws, some libraries that promise to avoid them (as long as you don’t hold them wrong - what every single programmer does), and lots and lots of new flaws that may come from anywhere.
minus-square@[email protected]linkfedilink3•8 months agoI use C, C++ and Rust in my dayjob. I don’t like C++, but I disagree with your statement. C++ has: a string type, which sidesteps error prone buffer juggling. smart pointers for scope based deallocation. generic data types. No more hand rolling list and mapping types with void *. It’s obviously still not a fully memory safe language, but it has some perks over C. I’d still much rather be using rust (most of the time).
It’s really not. It has the same flaws, some libraries that promise to avoid them (as long as you don’t hold them wrong - what every single programmer does), and lots and lots of new flaws that may come from anywhere.
I use C, C++ and Rust in my dayjob.
I don’t like C++, but I disagree with your statement.
C++ has:
It’s obviously still not a fully memory safe language, but it has some perks over C. I’d still much rather be using rust (most of the time).