Coro in Java 8
forum at x9c.fr
forum at x9c.fr
Fri Apr 29 01:35:05 PDT 2011
Le 27 avr. 2011 à 22:01, Charles Oliver Nutter a écrit :
> 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.
Having tail call optimization support would also fit nicely under
the "functional concurrency" subtitle for JDK8.
Xavier
More information about the mlvm-dev
mailing list