Skip to content

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

2 pointsdpeterson4 comments
On HN

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?

Comments

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.

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

I always thought it stood for New IO.

New IO.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.