4 ms·
JEP 425: Virtual Threads (Preview)
- imtringued 5y agoWhere is pron when we need him?!? >Authors Ron Pressler, Alan Bateman Exactly where we need him :)
- mindcrime 5y agoThis is pretty exciting! I wonder what Java version will see this as a production ready (non-preview) feature?
- SureshG 5y agoMay be by next LTS (java 21 - 2023 Sep) :D
- exabrial 5y agoOne 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.
- maskaler 5y agoIs there a concerted effort within the Java community to avoid async/await semantics? Genuinely curious whether a discussion has been had.
- deleted 5y ago[deleted]
- pvg 5y agoScroll through https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=author%3Apron%20async&sort=byDate&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu... for some inside takes from a loomperson.
- pjmlp 5y agoIt is going to be fun to watch how Kotlin will manage their vision of the world on top of virtual threads.
- exabrial 5y agoVert.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.
- dang 5y agoRelated: Java Virtual Threads Preview - https://news.ycombinator.com/item?id=29236375 https://news.ycombinator.com/item?id=29236375 - Nov 2021 (264 comments)