not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-22 days agocenterDiv.jslemmy.blahaj.zoneexternal-linkmessage-square56fedilinkarrow-up1553arrow-down16file-text
arrow-up1547arrow-down1external-linkcenterDiv.jslemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-22 days agomessage-square56fedilinkfile-text
minus-squareMark with a Z@lemmy.kde.sociallinkfedilinkarrow-up10·2 days agoYou can wrap everything in unsafe and keep living dangerously!
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up4·2 days agounsafe doesn’t deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.
minus-squareMark with a Z@lemmy.kde.sociallinkfedilinkarrow-up3·23 hours agoI know, but it does let you sled off a cliff if you choose to.
You can wrap everything in unsafe and keep living dangerously!
unsafe
doesn’t deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.I know, but it does let you sled off a cliff if you choose to.