3 ms·
I couldn't bear looking at how bloated C++ implementation is, so I implemented it in C++11 based on boost.fiber library: https://gist.github.com/4015306 https:
by baobab 14y ago
I couldn't bear looking at how bloated C++ implementation is, so I implemented it in C++11 based on boost.fiber library: https://gist.github.com/4015306 https://gist.github.com/4015306. Now it looks very similar to Go language code.
- DanielHimmelein 14y agoCool, looks much better :-). Normally, I really like Android's concurrency abstractions, but not for this one :-).
- DanielHimmelein 14y agoBut I have to admit that Android's concurrency framework is more about message passing and actors than about fibers or coroutines. The fiber implementation is much more readable here.