Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The "some limitations" there was mostly that original green threads implementation in Java lived on a single OS thread, so you could only use one core. Presumably that's changing this time around?


Yes, by my reading of the linked JEP, these virtual threads are executed by a pool of honest-to-goodness OS threads (so a virtual thread might pause on one thread and get resumed on another).


Ok, now that sounds good.


And also they are magically become non-blocking.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: