Project Loom: Fibers and Continuations for the Java Virtual Machine
cr.openjdk.java.net
Project Loom: Fibers and Continuations for the Java Virtual Machine
1–10 of 43 posts
Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#2Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#3Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#4- http://www.baeldung.com/java-completablefuture Promises
- http://vertx.io/ Event Loop
- https://akka.io/ and http://www.paralleluniverse.co/quasar/ Actors
- https://projectreactor.io/ and https://github.com/ReactiveX/RxJava Reactive, event-based
- https://kotlinlang.org/docs/reference/coroutines.html Kotlin coroutines. Something like Project Loom from what I gathered from the article. Can be easily used as lightweight threads, async/await, actors, etc.
- Clojure with its own mix https://purelyfunctional.tv/guide/clojure-concurrency-the-ul...
Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#5The detail, nuance, and humility present in this article give me some hope that pathological misbehavior of other M:N scheduling models (see Bryan Cantrill's rant/paper about this for more info) may be avoided if something like that comes to the JVM. However, the sheer complexity of the existing JVM code, as the authors point out, may present an obstacle to that quality. Figuring out yield points for coroutines across a large java codebase seems like it would be . . . painful, to say the least.
Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#6There are already many different libraries or approaches to concurrency and parallelism on JVM. - http://www.baeldung.com/java-completablefuture Promises - http://vertx.io/ Event Loop - https://akka.io/ and http://www.paralleluniverse.co/quasar/ Actors - https://projectreactor.io/ and https://github.com/ReactiveX/RxJava Reactive, event-based - https://kotlinlang.org/docs/reference/coroutines.html Kotlin coroutines. S…
Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#7There are already many different libraries or approaches to concurrency and parallelism on JVM. - http://www.baeldung.com/java-completablefuture Promises - http://vertx.io/ Event Loop - https://akka.io/ and http://www.paralleluniverse.co/quasar/ Actors - https://projectreactor.io/ and https://github.com/ReactiveX/RxJava Reactive, event-based - https://kotlinlang.org/docs/reference/coroutines.html Kotlin coroutines. S…
What loom seems to offer is the best of both worlds; going back to writing simpler code (e.g. regular "blocking" io code) while scaling much better.
Re: Project Loom: Fibers and Continuations for the Java Virtual Machine
#8I have some experience with it and I found it to be a very well designed and documented API. I hope to see it in the JVM someday.
The person behind it is pretty active online and does some other interesting things (the TLA+ subreddit), not sure if they are an hn reader but I hope they chime in here.