3 ms·
Fun trivia fact: Rust had conditions at one point. They weren't really used by anyone and so ended up getting dropped.
by steveklabnik 6y ago
Fun trivia fact: Rust had conditions at one point. They weren't really used by anyone and so ended up getting dropped.
- phoe-krk 6y agoThe book mentions that fact. The commit that removed them (along with the rationale) is available at https://github.com/rust-lang/rust/commit/454882dcb7fdb03867d695a88335e2d2c8f7561a https://github.com/rust-lang/rust/commit/454882dcb7fdb03867d...
- gumby 6y agoThose reasons seem more rust-specific than being a general reason to avoid restartable conditions — as the commit message acknowledges at the end.
- steveklabnik 6y agoThey're also "2014 Rust" specific; Rust changed a bunch between then and 1.0. Which doesn't mean they still wouldn't apply, just it gets harder for anything earlier than may 2015.