not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-25 天前centerDiv.jslemmy.blahaj.zoneimagemessage-square60fedilinkarrow-up1570arrow-down16file-text
arrow-up1564arrow-down1imagecenterDiv.jslemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-25 天前message-square60fedilinkfile-text
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up4·5 天前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·4 天前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.