ᴄʜᴏᴋɪᴅᴀʀ@lemmy.world to Programmer HumorEnglish · 1 year agorust in the linux kernellemmy.worldexternal-linkmessage-square16fedilinkarrow-up1505arrow-down118
arrow-up1487arrow-down1external-linkrust in the linux kernellemmy.worldᴄʜᴏᴋɪᴅᴀʀ@lemmy.world to Programmer HumorEnglish · 1 year agomessage-square16fedilink
minus-squareedinbruh@feddit.itlinkfedilinkEnglisharrow-up54·1 year agoThere! Now try to make a doubly linked list
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkEnglisharrow-up18arrow-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.
minus-squaretias@discuss.tchncs.delinkfedilinkarrow-up15arrow-down1·1 year agoIt’s harder than in most other languages
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.
its not super hard in rust
It’s harder than in most other languages