Re:JEP 425: Virtual Threads (Preview)
by maskaler on Wednesday April 06, 2022 @05:08PM
(#30937437)
Is there a concerted effort within the Java community to avoid async/await semantics? Genuinely curious whether a discussion has been had.
[ Parent
| on HN ]
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.
Scroll through https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu... for some inside takes from a loomperson.