back
9 comments
Is there a concerted effort within the Java community to avoid async/await semantics? Genuinely curious whether a discussion has been had.
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.
It is going to be fun to watch how Kotlin will manage their vision of the world on top of virtual threads.
This is pretty exciting! I wonder what Java version will see this as a production ready (non-preview) feature?
May be by next LTS (java 21 - 2023 Sep) :D
One of the things I appreciate about Java is a concerned effort to try and "get it right" the first time. Hoping it makes the LTS window, but I'd rather wait to get a great API rather than one that's broken, inconsistent, and has issues.
Related:

Java Virtual Threads Preview - https://news.ycombinator.com/item?id=29236375 - Nov 2021 (264 comments)

Where is pron when we need him?!?

>Authors Ron Pressler, Alan Bateman

Exactly where we need him :)