Login
From:
shift.click
(Uncensored)
subscribe
“Tear”able Puns, and Worse Ideas: A Minimally Thread-Safe Cell
https://shift.click/blog/tearcell/
links
backlinks
Tagged with:
code
rust
cells
mistakes
crates
atomics
interesting code
bad code
Roast topics
Find topics
Find it!
If you’ve ever thought “Using a Mutex<[f32; 3]> is pointless, what’s the worst thing that could happen here?”, I’ve written the Cell type that empowers you to find out the answer to that question yourself.