top | item 30937437

(no title)

maskaler | 3 years ago

Is there a concerted effort within the Java community to avoid async/await semantics? Genuinely curious whether a discussion has been had.

discuss

order

exabrial|3 years ago

Vert.x is what you're looking for.

That being said, async/Callbacks tend to create a pile of spaghetti, with no measurable performance gain. It's certainly a style of doing things and it creates an odd abstraction that really doesn't mirror the way our [current] computers operate.

The benefit of "fibers" or "green threads" is they are less of a jump and doesn't involve rewriting everything.

pjmlp|3 years ago

It is going to be fun to watch how Kotlin will manage their vision of the world on top of virtual threads.