ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 year agoIt's official, Rust is an anti C/C++ elitist slurlemmy.worldexternal-linkmessage-square94linkfedilinkarrow-up1417arrow-down132
arrow-up1385arrow-down1external-linkIt's official, Rust is an anti C/C++ elitist slurlemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square94linkfedilink
minus-squarebufalo1973@lemmy.mllinkfedilinkarrow-up2·1 year agoNow it seems the way is unique_ptr and shared_ptr. And std::any to replace void*. At least is what it seems to me.
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·1 year agoYeah, that’s my guess too. As to whether C++ can update enough to steal it’s thunder, I feel less qualified to answer. It’d be pretty impressive if they managed to preserve backwards compatibility and do that at the same time, though.
deleted by creator
Now it seems the way is unique_ptr and shared_ptr. And std::any to replace void*. At least is what it seems to me.
Yeah, that’s my guess too.
As to whether C++ can update enough to steal it’s thunder, I feel less qualified to answer. It’d be pretty impressive if they managed to preserve backwards compatibility and do that at the same time, though.