JEP 425: Virtual Threads (Preview)(openjdk.java.net)
openjdk.java.net
JEP 425: Virtual Threads (Preview)
https://openjdk.java.net/jeps/425
4 comments
This is pretty exciting! I wonder what Java version will see this as a production ready (non-preview) feature?
Is there a concerted effort within the Java community to avoid async/await semantics? Genuinely curious whether a discussion has been had.
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.
[deleted]
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.
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.
Related:
Java Virtual Threads Preview - https://news.ycombinator.com/item?id=29236375 - Nov 2021 (264 comments)
Java Virtual Threads Preview - https://news.ycombinator.com/item?id=29236375 - Nov 2021 (264 comments)
>Authors Ron Pressler, Alan Bateman
Exactly where we need him :)