Coro in Java 8
Charles Oliver Nutter
headius at headius.com
Wed Apr 27 13:01:13 PDT 2011
On Wed, Apr 27, 2011 at 2:54 PM, Rémi Forax <forax at univ-mlv.fr> wrote:
> Yes, 100% agree.
> Coroutine can also be used to implement generators in Java,
> introducing yield in the release that introduce lambda make a lot of
> sense for me.
Yeah, the Java platform is moving toward:
* Lightweight concurrency models (actors, fork/join)
* Functional models (closures)
Coroutines fit *perfectly* into both areas as pausable/resumable units
of work or for supporting pausable/resumable functions and closures.
Java 8 should be the "functional concurrency" release, and coro should
go along with that.
- Charlie
More information about the mlvm-dev
mailing list