4 ms·
Just a minor aside but > Doing this reminded me of the days I worked with Rust, and how wonderfully impossible a task like this would be. I don’t think I’m tou
by conradludgate 5y ago
Just a minor aside but
> Doing this reminded me of the days I worked with Rust, and how wonderfully impossible a task like this would be. I don’t think I’m touching it again, I like my global atomic booleans.
Global atomics are perfectly possible in Rust.
static R_CMD: AtomicBool = AtomicBool::new(false);
- alin23 5y agoYes I haven’t touched Rust in a while. When I was working on an embedded project with it, Atomic Booleans weren’t so easily available from what I remember.