TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 dpeterson超过 5 年前
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?

4 条评论

Traubenfuchs超过 5 年前
<a href="https:&#x2F;&#x2F;docs.oracle.com&#x2F;javase&#x2F;8&#x2F;docs&#x2F;technotes&#x2F;guides&#x2F;io&#x2F;enhancements.html" rel="nofollow">https:&#x2F;&#x2F;docs.oracle.com&#x2F;javase&#x2F;8&#x2F;docs&#x2F;technotes&#x2F;guides&#x2F;io&#x2F;en...</a><p>&quot;NIO stands for non-blocking I&#x2F;O&quot;<p>Funny, I thought it was NATIVE I&#x2F;O.
humbleMouse超过 5 年前
If you want java to be non blocking I sugguest using the DeferredResult feature in the Spring React 5.0 framework.
mindcrime超过 5 年前
I always thought it stood for New IO.
haglin超过 5 年前
New IO.