Le 27 avr. 2011 à 22:01, Charles Oliver Nutter a écrit : > On Wed, Apr 27, 2011 at 2:54 PM, Rémi Forax <[email protected]> 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 _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
