Talk:Non-blocking I/O (Java): Difference between revisions

Content deleted Content added
clean up, Added missing comments section header using AWB
Cewbot (talk | contribs)
m Maintain {{WPBS}} and vital articles: 1 WikiProject template. Create {{WPBS}}. Keep majority rating "Stub" in {{WPBS}}. Remove 1 same rating as {{WPBS}} in {{WikiProject Java}}.
 
(11 intermediate revisions by 10 users not shown)
Line 1:
{{WikiProject Javabanner shell|class=stubStub|importance=low}}
{{WikiProject Java|importance=low}}
 
}}
==Untitled==
Can you add some details about the difference between java.io.* and java.nio.* [[User:Jgold03|Jgold03]] 01:20, 27 March 2006 (UTC)
Line 30 ⟶ 31:
 
--[[Special:Contributions/88.114.29.229|88.114.29.229]] ([[User talk:88.114.29.229|talk]]) 19:29, 17 March 2010 (UTC)
 
Even though it's listed as a feature, I don't see how it can be called part of NIO. NIO certainly allows the use of regex but regex is not part of NIO (at least as far as I can see).
 
My main gripe though was that the example takes up so much space compared to the more core areas of NIO. It makes it seem that regex is a core part of NIO whereas it's merely a way of using the existing regex API with NIO. In addition, if the regex example is only a minor alteration of the offical example, why keep it? A link should be sufficient. <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/156.48.57.36|156.48.57.36]] ([[User talk:156.48.57.36|talk]]) 12:10, 8 April 2011 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->
 
== Examples ==
Line 36 ⟶ 41:
 
--[[Special:Contributions/88.114.29.229|88.114.29.229]] ([[User talk:88.114.29.229|talk]]) 18:43, 17 March 2010 (UTC)
 
== Links not working anymore... ==
 
Since dump-shit Oracle wiped the 1.4 API (they didn't really get that the Java API is supposed to never change!), you need to replace some links with new ones. --[[Special:Contributions/178.197.228.138|178.197.228.138]] ([[User talk:178.197.228.138|talk]]) 18:19, 18 January 2014 (UTC)
 
== Doesn't "NIO" Stand for "non-blocking I/O" ? ==
 
According from this link from documentation:
http://docs.oracle.com/javase/7/docs/technotes/guides/io/enhancements.html#7
 
File I/O (featuring NIO 2.0) in the Java Tutorials; NIO stands for non-blocking I/O <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/91.219.115.2|91.219.115.2]] ([[User talk:91.219.115.2|talk]]) 05:59, 6 April 2014 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
 
:I have always thought that NIO stood for "Non-blocking I/O", as some of the Oracle documentation says. But reviewing Java 5 documentation, they say "The Java NIO (New Input/Output)" (https://docs.oracle.com/en/java/javase/15/core/java-nio.html). Maybe NIO version 1 is more "new" and version 2 more "non-blocking"? [[User:Chiro79|Chiro79]] ([[User talk:Chiro79|talk]]) 11:15, 18 August 2022 (UTC)
 
== "NIO" is "New", not "Non-Blocking" ==
 
According to the 1.5 release notes<ref>https://docs.oracle.com/javase/1.5.0/docs/guide/nio/</ref>, NIO stands for "New IO": ''"The new I/O (NIO) APIs introduced in v 1.4..."''
 
Suggesting that it stands for non-blocking IO is misleading to new Java developers, in that it suggests these are special IO APIs for special circumstances. In fact they're just "new", and since they're in many ways more convenient, identifying them as "new" will lead developers to more readily explore them. The "non-blocking" terminology should be removed.
[[User:Vancinad|Vancinad]] ([[User talk:Vancinad|talk]]) 23:37, 8 February 2022 (UTC)
 
{{reflist-talk}}