ᴄʜᴏᴋɪᴅᴀʀ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agorust in the linux kernellemmy.worldimagemessage-square15fedilinkarrow-up1452
arrow-up1437imagerust in the linux kernellemmy.worldᴄʜᴏᴋɪᴅᴀʀ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square15fedilink
minus-squareedinbruh@feddit.itlinkfedilinkEnglisharrow-up48·1 year agoThere! Now try to make a doubly linked list
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkEnglisharrow-up17arrow-down1·1 year agounsafe time. I’ve poked around in the Rust linked list tutorial, and it all seems like hacks to me. At the end of the day I think you just need to use raw pointers when you’re implementing list operations.
There! Now try to make a doubly linked list
unsafe
time.I’ve poked around in the Rust linked list tutorial, and it all seems like hacks to me. At the end of the day I think you just need to use raw pointers when you’re implementing list operations.