cm0002@lemmy.world to Programming@programming.dev · 2 months agoTime to make C the COBOL of this centurywww.theregister.comexternal-linkmessage-square9fedilinkarrow-up11arrow-down11
arrow-up10arrow-down1external-linkTime to make C the COBOL of this centurywww.theregister.comcm0002@lemmy.world to Programming@programming.dev · 2 months agomessage-square9fedilink
minus-squarebamboo@lemm.eelinkfedilinkarrow-up0arrow-down1·2 months 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·2 months agoSo the solution is to take away any agency the developer may have over how their application allocates memory?
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up1·2 months 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
unsafe
block in rust?Anti Commercial-AI license