by mooreds · 4y ago · 0 comments
Agreed that the threading parts of this project might need to be looked at/reworked when loom is released.
More discussion here: https://www.reddit.com/r/java/comments/nsb2w1/will_loom_rend...
But yeah … opening this project I was scanning for Java 19 / loom reference
No, they are virtually the same abstraction.
The NIO section covers a bit about how the fibers release the channels, but the OS will not know that. Non-blocking IO is about interrupts at the hardware level that let the application code know when bytes are ready to be read or written. Fibers help by fanning out the work, but they don't replace this concept.