Rust 1.0 alpha released
Rust 1.0 alpha released
Posted Jan 13, 2015 8:25 UTC (Tue) by ms (subscriber, #41272)In reply to: Rust 1.0 alpha released by roc
Parent article: Rust 1.0 alpha released
To do green threads as a library, that would mean you'd need some way to interrupt a thread, suspend the computation and then allocate some other work to the thread. The very fact there's no API to do this on the JVM is the reason why Akka is not an real actor framework. An alternative implementation is using something like call/cc. In many languages, the RTS is an interpreter of some sort, and so building it into the interpreter is quite straight-forward.
But for libgreen to be able to do this (and is libgreen itself written in Rust?), presumably there must be one of these mechanisms available.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
