News for hackers. Stuff that matters.
Re:Concurrent Hello World in Go, Erlang, and C++ by baobab on Sunday November 04, 2012 @11:43PM (#4742286)
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. Now it looks very similar to Go language code.
Re:Concurrent Hello World in Go, Erlang, and C++ by DanielHimmelein on Monday November 05, 2012 @03:42AM (#4742751)
But 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.
Re:Concurrent Hello World in Go, Erlang, and C++ by DanielHimmelein on Monday November 05, 2012 @03:33AM (#4742730)
Cool, looks much better :-). Normally, I really like Android's concurrency abstractions, but not for this one :-).