arendjr@programming.dev to Programming@programming.devEnglish · 5 days agoFeds: Critical Software Must Drop C/C++ by 2026 or Face Riskthenewstack.ioexternal-linkmessage-square26fedilinkarrow-up179arrow-down19
arrow-up170arrow-down1external-linkFeds: Critical Software Must Drop C/C++ by 2026 or Face Riskthenewstack.ioarendjr@programming.dev to Programming@programming.devEnglish · 5 days agomessage-square26fedilink
minus-squarerefalo@programming.devlinkfedilinkarrow-up2arrow-down11·4 days agoTo be fair, it’s entirely possible to make the same and very similar mistakes in Rust, too.
minus-squarerobinm@programming.devlinkfedilinkarrow-up1·19 hours ago Is it possible to do in Rust? Yes Is possible to do in Rust, by mistake, and not easily caught by a review? Definitively not.
minus-squarerefalo@programming.devlinkfedilinkarrow-up1·7 hours agoI think you could argue the same point with C++
minus-squareGetOffMyLan@programming.devlinkfedilinkarrow-up8arrow-down1·edit-24 days agoI’m fairly sure use after free isn’t possible unless you explicitly use unsafe code right? It’s compiler enforced is the point.
To be fair, it’s entirely possible to make the same and very similar mistakes in Rust, too.
Yes
Definitively not.
I think you could argue the same point with C++
I’m fairly sure use after free isn’t possible unless you explicitly use unsafe code right?
It’s compiler enforced is the point.