not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-21 个月前centerDiv.jslemmy.blahaj.zoneimagemessage-square51fedilinkarrow-up1541arrow-down16file-text
arrow-up1535arrow-down1imagecenterDiv.jslemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-21 个月前message-square51fedilinkfile-text
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up4·1 个月前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.
minus-squareMark With a Z@lemmy.kde.sociallinkfedilinkarrow-up3·1 个月前I know, but it does let you sled off a cliff if you choose to.
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.