A proposal for "rebooted" Python asynchronous I/O support
A proposal for "rebooted" Python asynchronous I/O support
Posted Dec 30, 2012 3:35 UTC (Sun) by wahern (subscriber, #37304)In reply to: A proposal for "rebooted" Python asynchronous I/O support by tack
Parent article: A proposal for "rebooted" Python asynchronous I/O support
This is why I much prefer Lua. It might not have the huge library, but at least the VM is done right.
Posted Dec 30, 2012 4:36 UTC (Sun)
by tack (guest, #12542)
[Link] (2 responses)
Posted Dec 31, 2012 23:47 UTC (Mon)
by wahern (subscriber, #37304)
[Link] (1 responses)
Coroutines in languages like Lua are implemented more like threads, so coroutine semantics aren't limited to a single callee invocation. In Lua, invocation C in A->B->C can yield, even though coroutine resumption began in A. In CPython, when resuming A only A can yield. A can, however, _explicitly_ invoke B as a coroutine. But B (perhaps a library call) can't hide the details. A needs to adorn it's call to B in order to get coroutine semantics. Again, not so in Lua or some other languages.
Posted Jan 1, 2013 0:10 UTC (Tue)
by wahern (subscriber, #37304)
[Link]
A proposal for "rebooted" Python asynchronous I/O support
A proposal for "rebooted" Python asynchronous I/O support
A proposal for "rebooted" Python asynchronous I/O support