Java loom comparable to Go routines?
With the OpenJDK project loom( https://www.baeldung.com/openjdk-project-loom ) coming into existence and bringing a whole new concurrency model, do you think this compares to the Go Routines that have been gaining popularity for concurrency? Are these comparable? I’ve worked on Java but not on Go till now. So please excuse the lack of understanding here.
If I'm not wrong Kotlin had coroutines already. Why would someone choose Java, when Kotlin has had these features for years and is maintained by a much better company than oracle. Spring works well with Kotlin too.
It’s just that I’ve not comes across Kotlin to be that prevalent when it comes to production applications. Orgs I’ve worked with are primarily Java based with camel, spring(boot), cxf and so on.. few of them have started with Go now. Hence the question. I’ve got absolutely zero knowledge on Kotlin and its features as well.
Continuations seem similar to Go routines but I have limited understanding of Java.
Java has been on a roll recently. I think it's high time for me to check it out seriously.
Jvm + structured concurrency is going to be good.