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.
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.
10 comments
[ 3.2 ms ] story [ 33.4 ms ] threadThat 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.
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 :)