News for hackers. Stuff that matters.
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.
Re:Futures for C++11 at Facebook by obstinate on Saturday June 20, 2015 @02:52PM (#9750705)
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.