this post was submitted on 30 Jul 2023
505 points (100.0% liked)

Programmer Humor

32692 readers
584 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 18 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.