this post was submitted on 30 Jul 2023
486 points (96.6% liked)

Programmer Humor

32415 readers
938 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] edinbruh@feddit.it 54 points 1 year ago (2 children)

There! Now try to make a doubly linked list

[–] CanadaPlus@lemmy.sdf.org 17 points 1 year ago

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.