Settings

Theme

Ask HN: Java NIO stands for non-blocking I/O or New I/O?

2 points by dpeterson 6 years ago · 4 comments · 1 min read


I just had an internal discussion at my company and it seems I've been wrong for 15 years thinking NIO or java.nio stands for non-blocking i/o. In fact, I've been told it does in fact stand for New I/O. I'm just wondering what HN folks have to say about this. Surprising? Still up for debate? Or is it cut and dry that NIO stands for New I/O?

Traubenfuchs 6 years ago

https://docs.oracle.com/javase/8/docs/technotes/guides/io/en...

"NIO stands for non-blocking I/O"

Funny, I thought it was NATIVE I/O.

humbleMouse 6 years ago

If you want java to be non blocking I sugguest using the DeferredResult feature in the Spring React 5.0 framework.

mindcrime 6 years ago

I always thought it stood for New IO.

haglin 6 years ago

New IO.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection