Hacker News new | past | comments | ask | show | jobs | submit login

Our (facebook's) folly library has lots of components for doing stuff using fibers[1]. That sits with folly::futures[2] and wangle[3].

That said, without proper language/compiler support, though, it's difficult to make them "safe" (for some definition). Even within fb, given these libraries, we are pretty wary of using fibers with C++ unless absolutely necessary. You gotta really need it. This is where the coroutines proposals working their way through the C++ committee can make lives better.

[1] https://github.com/facebook/folly/tree/master/folly/fibers

[2] https://github.com/facebook/folly/tree/master/folly/futures

[3] https://github.com/facebook/wangle




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

Search: