Hi,all

This week I spent most of my time on reading the source code of libtask
<http://swtch.com/libtask/> as it is written by one designer of the Go
language(Russ
Cox) and very similar to goroutinein Go.

libtask uses channel for communication between different coroutines, which
is a good inspiration and suitable for the situation of cascade yield. The
only problem is libtask takes control of the main scheduling while
Duda I/O already
got its own dispatch logic. This may requires some second thoughts on how
to merge them.

For the next week, I will continue integrating libtask with duda_coro and
find out whether it is possible to make it work with the existing
asynchronous code base with a wrapper function.

Blog Post:
http://blog-swpd.rhcloud.com/gsoc-2014-update-duda-io-coroutines-week-8/

Github Repo: https://github.com/swpd/duda_coro

Best Regards,

swpd
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to