Re:Zero-cost futures in Rust
by SideburnsOfDoom on Thursday August 11, 2016 @05:27PM
(#12271671)
Yep, that's why I'm asking about the use-cases in the grandparent comment.
[ Parent
| on HN ]
As an example, many real-time systems are often a giant ball of messy asynchronous code and state machines. Futures can help with that, although lately I have found that somtimes the best, cleanest, way to implement a state machine is to make it explicit.
How much do you attribute that to the benefit of creating a high barrier to entry for modifying that code? Could this be summarized as: code that inexperienced devs can't understand, stays performant because they can't figure out how to change it?