this post was submitted on 30 Jul 2023
484 points (96.5% liked)

Programmer Humor

33619 readers
14 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 2 years ago (2 children)

There! Now try to make a doubly linked list

[–] CanadaPlus@lemmy.sdf.org 17 points 2 years 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.