cm0002@lemmy.world to Programming@programming.dev · 1 year agoTime to make C the COBOL of this centurywww.theregister.comexternal-linkmessage-square11fedilinkarrow-up124arrow-down130cross-posted to: c_lang@programming.dev
arrow-up1-6arrow-down1external-linkTime to make C the COBOL of this centurywww.theregister.comcm0002@lemmy.world to Programming@programming.dev · 1 year agomessage-square11fedilinkcross-posted to: c_lang@programming.dev
minus-squarebamboo@lemm.eelinkfedilinkarrow-up0arrow-down1·1 year ago If it ain’t broken, don’t fix it. That’s the thing, it is broken and there is a fix desperately needed. C lacks memory safety, which is responsible for many, many security vulnerabilities. And they’re entirely avoidable.
minus-squaredeathmetal27@lemmy.worldlinkfedilinkarrow-up0·1 year agoSo the solution is to take away any agency the developer may have over how their application allocates memory?
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up1·1 year agoHave you heard of the unsafe block in rust? Anti Commercial-AI license
That’s the thing, it is broken and there is a fix desperately needed. C lacks memory safety, which is responsible for many, many security vulnerabilities. And they’re entirely avoidable.
So the solution is to take away any agency the developer may have over how their application allocates memory?
Have you heard of the
unsafeblock in rust?Anti Commercial-AI license