seth@lemmy.world to Programming@programming.dev · edit-25 months agoC++ creator rebuts White House warningwww.infoworld.comexternal-linkmessage-square98fedilinkarrow-up1157arrow-down112file-text
arrow-up1145arrow-down1external-linkC++ creator rebuts White House warningwww.infoworld.comseth@lemmy.world to Programming@programming.dev · edit-25 months agomessage-square98fedilinkfile-text
minus-squarevext01@lemmy.sdf.orglinkfedilinkarrow-up5arrow-down2·5 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).
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).