cqst [she/her]@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 3 days agothe perfect browserlemmy.blahaj.zoneimagemessage-square181fedilinkarrow-up1657arrow-down132
arrow-up1625arrow-down1imagethe perfect browserlemmy.blahaj.zonecqst [she/her]@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 3 days agomessage-square181fedilink
minus-squaredreugeworst@lemmy.mllinkfedilinkarrow-up1·1 day agoWhich language would you say is not memory safe then? Is there any serious language out there where you should expect memory issues if you don’t make any mistakes?
minus-squareZacryon@feddit.orglinkfedilinkarrow-up2·8 hours agoNo. I changed my mind just very recently throughout this discussion. I agree now that the lack of enforcement of memory safe techniques in C++ makes it inherently memory-unsafe. That doesn’t change the fact though that it’s possible to write memory safe code, if you know what you’re doing, use the right patterns, classes etc…
Which language would you say is not memory safe then? Is there any serious language out there where you should expect memory issues if you don’t make any mistakes?
No. I changed my mind just very recently throughout this discussion.
I agree now that the lack of enforcement of memory safe techniques in C++ makes it inherently memory-unsafe.
That doesn’t change the fact though that it’s possible to write memory safe code, if you know what you’re doing, use the right patterns, classes etc…