So, it turns out that I'm not the first one to blog about the experience of writing a simple linked list as a newcomer to #rust—I just saw this post from about a year ago: https://rcoh.me/posts/rust-linked-list-basically-impossible/
But that post decided it was "basically impossible" and switched to #golang—I'm glad I stuck with it. I feel like I learned a lot!
Am I wrong in recalling that it was basically only an issue if you tried to do it in safe code, and that using "unsafe" blcoks made it straightforward?
No, that's not wrong—and making the jump into `unsafe` was exactly what I did. That's part of why I felt like I learned a lot from it; it was the first `unsafe` code I wrote, and a great intro to how could can be `unsafe` without actually being *unsafe*.
Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.