Re:RethinkDB internals: making coroutines fast
by finiteloop on Thursday December 23, 2010 @08:30PM
(#2036361)
This looks really cool. I have been messing around with coroutines a lot lately as well, testing libtask (http://swtch.com/libtask/) as well as libcoroutine. Is the source for the changes to libcoroutine available? I didn't see a link from the article.
[ Parent
| on HN ]
Re:RethinkDB internals: making coroutines fast
by coffeemug on Thursday December 23, 2010 @09:12PM
(#2036405)
We'd like to. The difficulty is that in order to get the performance improvements we had to integrate three different components: a few patches to libcoroutine, a patch to glibc, and pooling code that's tightly integrated with our asynchronous IO layer. A compelling patch would span three different licenses, involve patches to two libraries and re-engineering of the integrated piece to make it usable by the outside world. We'd like to do it, but for now this would be too much of a distraction.