concurrency-examples-kt
Quasar
concurrency-examples-kt | Quasar | |
---|---|---|
1 | 6 | |
1 | 4,547 | |
- | 0.1% | |
10.0 | 0.0 | |
almost 2 years ago | 4 months ago | |
Kotlin | Java | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
concurrency-examples-kt
-
Picking up Go as a Java dev—what could possibly go wrong?
Good read. The differences aren't as stark as I would have imagined, but of course, the Go approach is by and large cleaner and easier to read no doubt. The Kotlin examples somebody posted in the comments (https://github.com/alexismanin/concurrency-examples-kt) are much better IMO, but Go is still the cleanest. Go's concurrency really is a killer feature.
Quasar
-
Java 21 makes me like Java again
Java 21 doesn't retrofit green threads though. Quasar [0] is a library that implemented fibers for Java and the main developer pron has joined the OpenJDK development team. All that was necessary for first party support is to make the JDK libraries yield when blocking.
Adopting async isn't impossible at all, there is very little demand for it.
[0] https://docs.paralleluniverse.co/quasar/
-
Lies we tell ourselves to keep using Golang
Third party options have been around for nearly a decade now: https://docs.paralleluniverse.co/quasar/
-
Picking up Go as a Java dev—what could possibly go wrong?
Quasar Fiber (https://docs.paralleluniverse.co/quasar/) is the equivalent implementation of goroutine in Java.
-
Helidon Nima - First Framework built from the ground up for Project Loom
Even Loom architect Ron Pressler had something else in mind with his earlier prototype Quasar, with a spaceship demo.
- Thread Pools on the JVM
-
DoorDash: Migrating From Python to Kotlin for Our Backend Services
I'd say because of Erlang. Loom's architect was building a bytecode-modifying (with a javaagent) lib named Quasar before he joined Oracle. The project page mentions a news titled "Introductory blog post: Erlang (and Go) in Clojure (and Java), Lightweight Threads, Channels and Actors for the JVM." in May 2, 2013.
What are some alternatives?
tivi - Tivi is a TV show tracking Android app, which connects to trakt.tv
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
Apache ZooKeeper - Apache ZooKeeper
Zuul - Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache Storm - Apache Storm
Orbit - Orbit - Virtual actor framework for building distributed systems
Pinpoint - APM, (Application Performance Management) tool for large-scale distributed systems.
Hazelcast - Hazelcast is a unified real-time data platform combining stream processing with a fast data store, allowing customers to act instantly on data-in-motion for real-time insights.
Bt - BitTorrent library and client with DHT, magnet links, encryption and more
Lagom - Reactive Microservices for the JVM
Hystrix - Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.