another interesting development is the work on coroutine support for mlvm (and perhaps eventually for jvm proper).
另一个有趣的东西是针对mlvm(也许最终是针对jvm本身)的协程支持工作。
there are of course efficient green thread and coroutine implementations which allow you to write asynchronous code in a synchronous looking way – eventlet for example.
绿色线程固然有效率得多,调度得更快,而且还有一个好处是,写异步的代码跟写同步的样子差不多。
as before, of course, we don「t have to rewrite both routines using the coroutine macros. one will suffice; the other can be its caller.
就像以前,当然,我们不需要不得不重写两个代码,用这个协程宏。一个就够了,另外一个是调用者。
as before, of course, we don」t have to rewrite both routines using the coroutine macros.
就像过去,固然,我们不必要不得不重写两个代码,用这个协程宏。
in order to create a scheduler for weightless threads (microthreads), i removed the coroutine logic for 「please branch to here.」