Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
MozPromise: A Better Tool for Asynchronous C++ (bholley.net)
16 points by fabrice_d on Aug 19, 2015 | hide | past | favorite | 2 comments


I suggest use libprocess in https://github.com/apache/mesos/tree/master/3rdparty/libproc... Is it more widely used and test well.


Having used JavaScript and C++ promises, the thing I find easiest is coroutines, and they've been accepted for C++17. In the meantime Boost Coroutine together with ASIO makes for very readable code.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: