Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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);


Yes 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: