[HN Gopher] JEP 425: Virtual Threads (Preview)
       ___________________________________________________________________
        
       JEP 425: Virtual Threads (Preview)
        
       Author : mfiguiere
       Score  : 17 points
       Date   : 2022-04-06 16:15 UTC (6 hours ago)
        
 (HTM) web link (openjdk.java.net)
 (TXT) w3m dump (openjdk.java.net)
        
       | mindcrime wrote:
       | This is pretty exciting! I wonder what Java version will see this
       | as a production ready (non-preview) feature?
        
         | SureshG wrote:
         | May be by next LTS (java 21 - 2023 Sep) :D
        
           | exabrial wrote:
           | 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.
        
       | maskaler wrote:
       | Is there a concerted effort within the Java community to avoid
       | async/await semantics? Genuinely curious whether a discussion has
       | been had.
        
         | exabrial wrote:
         | 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.
        
       | dang wrote:
       | Related:
       | 
       |  _Java Virtual Threads Preview_ -
       | https://news.ycombinator.com/item?id=29236375 - Nov 2021 (264
       | comments)
        
       ___________________________________________________________________
       (page generated 2022-04-06 23:02 UTC)