Re:Futures for C++11 at Facebook
by pron on Saturday June 20, 2015 @04:02AM
(#9749330)
Can you explain why? Futures seem to be much more intrusive than the other two.
[ Parent
| on HN ]
They are intrusive in the sense that the code looks much different. On the other hand, I'd guess they are less error prone. Marking up syscalls would be a constant cognitive load, since you have to remember to do it each time (or else maintain an abstraction layer). But once you've decided to use futures, that's just how you do async.