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.

18mo ago
Talking product sense with Ridhi
9 min AI interview5 questions
Round 1 by 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

Jvm + structured concurrency is going to be good.

Discover more
Curated from across
Software Engineers
by SparklyHamsterGojek

Interview advice needed: DSA & LLD

I am a Golang Developer, with around 3yr of experience. Previously, in college, I have practiced DSA in C++. Also, I knew some Java which I used while learning OOPS(LLD) in college.

Now since I am considering to switch, I need to revise...

Software Engineers
by FuzzyCupcakeFrontend Engineer

Go Lang

How many of you have used go Lang and go routines for building backend api and concurrency? Kindly share interesting work that you have done

Software Engineers
by MagicalBobaSoftware Developer

Java springboot or Golang for Node devs

Hi guys, I am currently working in a SAAS startup as a backend Engineer. Tech stack: MERN, AWS, little bit of GenAI now.

I know most big companies use Java springboot for their backend, so I'm thinking to learn it is I want to switch la...

Software Engineers
by JazzySushiSoftware Engineer

LLD preferred Programming Language

I have generally observed that all system design discussions and tutorials (like youtube channel of Gaurav Sen, Concept and Coding etc) uses Java. My concern is that I work in NodeJS and try to implement the same in JS. I can also lear...