cqst [she/her] to linuxmemes@lemmy.worldEnglish • 4 days agothe perfect browserlemmy.blahaj.zoneimagemessage-square183arrow-up1659arrow-down132
arrow-up1627arrow-down1imagethe perfect browserlemmy.blahaj.zonecqst [she/her] to linuxmemes@lemmy.worldEnglish • 4 days agomessage-square183
minus-square@dreugeworst@lemmy.mllinkfedilink1•2 days 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-square@Zacryon@feddit.orglinkfedilink2•1 day 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…