cm0002@lemmy.world to Programming@programming.dev · 1 year agoTime to make C the COBOL of this centurywww.theregister.comexternal-linkmessage-square15linkfedilinkarrow-up13arrow-down11
arrow-up12arrow-down1external-linkTime to make C the COBOL of this centurywww.theregister.comcm0002@lemmy.world to Programming@programming.dev · 1 year agomessage-square15linkfedilink
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-up1arrow-down1·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