this post was submitted on 30 Jul 2023
440 points (96.8% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] edinbruh@feddit.it 48 points 2 years ago (1 children)

There! Now try to make a doubly linked list

[โ€“] CanadaPlus@lemmy.sdf.org 16 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.