this post was submitted on 30 Jul 2023
270 points (97.9% liked)
Programmer Humor
32710 readers
716 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
quietly implements
next
andprev
references using array indexits not super hard in rust
It's harder than in most other languages