JumpyCoconut
JumpyCoconut

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.

14mo ago
Find out if you are being paid fairly.Download Grapevine
WobblyBagel
WobblyBagel

Checkout the ThePrimagen's video on this

GigglyNarwhal
GigglyNarwhal

Ah a fellow The Primeagen enjoyer.

GigglyNarwhal
GigglyNarwhal

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.

JumpyCoconut
JumpyCoconut

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.

MagicalQuokka
MagicalQuokka

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.

JumpyCoconut
JumpyCoconut

I was just thinking of checking out Go seriously. 😅

MagicalQuokka
MagicalQuokka

You should. It's a good language

SillyBiscuit
SillyBiscuit
Rippl14mo

Jvm + structured concurrency is going to be good.

Discover more
Curated from across