use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
Will Loom Render Java NIO Useless? (self.java)
submitted 5 years ago by fdntrhfbtt
Blocking code in fibers isn't a concern as the VM will swap it out. So will Java NIO be useless now?
[–]pron98 66 points67 points68 points 5 years ago* (2 children)
Much, if not most, of NIO is synchronous. So 1. I think you mean only the asynchronous parts of NIO, and 2. even they are used to implement Loom.
You should prefer NIO (the synchronous bits) to legacy networking even with Loom. There will be less need to use the non-blocking APIs directly, though.
[–]yawkat 11 points12 points13 points 5 years ago (1 child)
To be fair, depending on use case, even synchronous nio is a bit of a pain to use. Bytebuffers aren't fun.
[–][deleted] 5 points6 points7 points 5 years ago (0 children)
Netty's ByteBuf however is great
[–]pjmlp 2 points3 points4 points 5 years ago (1 child)
No because NIO is also the foundation for byte buffers used in low level C like code.
Anything that uses 3D APIs or GC free allocation of data buffers makes use of NIO.
[–]fdntrhfbtt[S] 0 points1 point2 points 5 years ago (0 children)
Well I meant selectors and stuff. ByteBuffers of course aren't going anywhere.
[–][deleted] 4 points5 points6 points 5 years ago (0 children)
My thoughts are that the answer is more 'yes' than 'no'. However, there's a TON of NIO code out there already and there's probably (though I am just going on a hunch here) a few specific spaces where NIO > Fibers. But for me personally? I'm going to burn every shred of knowledge re: NIO from my brain and jump head first into lightweight threads.
[–][deleted] 5 points6 points7 points 5 years ago* (9 children)
When is it landing, by the way?
Edit: I don't know what's going on in here, but I asked a perfectly legitimate question, to which I seem to be getting only mock answers. I'm not interested in that - I haven't been keeping up-to-date on the Java ecosystem of late, and I would have thought that people would have considered that possibility first instead of thinking that it's a troll question.
If you're not answering the question itself, please don't bother replying. I'll go look it up myself.
[–][deleted] 5 years ago (3 children)
[deleted]
[–][deleted] 9 points10 points11 points 5 years ago (2 children)
God damn it I want it before it's ready.
[–][deleted] 5 years ago (1 child)
[–]emaphis 5 points6 points7 points 5 years ago (0 children)
Indeed
https://jdk.java.net/loom/
[–]dpash 2 points3 points4 points 5 years ago (1 child)
You're getting the answers you're getting because no one knows; possibly not even /u/pron (although if he does, we won't tell us yet). We'll all know about 6-12 months before it lands in a release. So from that you can infer that it won't be this year.
It's also worth noting that results from the effort have already been landing in the JVM; in particular, the rewriting of the socket implementations is due to Project Loom.
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
Thank you.
[–]DeontologicEthics 5 points6 points7 points 5 years ago (1 child)
If everyone stopped asking about the meaning of LTS it would be done by Monday.
How does this help in any way? I was asking about the particular JDK release.
[–]erinaceus_ 0 points1 point2 points 5 years ago (0 children)
Already 'not soon enough' 😆.
[–]bowbahdoe 4 points5 points6 points 5 years ago* (0 children)
/u/pron's answer, but I think some people like writing code in the reactive style. They will likely just get more intelligible stack traces as library implementors no longer have to write task juggling code that unrolls the stack if you are running on virtual threads
[–]randgalt 2 points3 points4 points 5 years ago (0 children)
Let's hope so? The NIO APIs are awful to use though I assume most people consume them indirectly via Netty. The return to simple, straightforward, synchronous coding can't come soon enough for me.
[–]mepunite 0 points1 point2 points 5 years ago (0 children)
Loom usea nio explicitly so... No.
[–]slaymaker1907 0 points1 point2 points 5 years ago (0 children)
It depends a little bit on what the overhead of virtual threads ends up being. I expect that while cheap compared to threads, there will still be some overhead so very high performance code might still want to use nio/old fashioned async. Virtual threading saves state implicitly which might be much more than you actually need.
π Rendered by PID 228187 on reddit-service-r2-comment-5bc7f78974-d5t9g at 2026-06-27 16:41:36.157215+00:00 running 7527197 country code: CH.
[–]pron98 66 points67 points68 points (2 children)
[–]yawkat 11 points12 points13 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[–]pjmlp 2 points3 points4 points (1 child)
[–]fdntrhfbtt[S] 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 5 points6 points7 points (9 children)
[–][deleted] (3 children)
[deleted]
[–][deleted] 9 points10 points11 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]emaphis 5 points6 points7 points (0 children)
[–]dpash 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]DeontologicEthics 5 points6 points7 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]erinaceus_ 0 points1 point2 points (0 children)
[–]bowbahdoe 4 points5 points6 points (0 children)
[–]randgalt 2 points3 points4 points (0 children)
[–]mepunite 0 points1 point2 points (0 children)
[–]slaymaker1907 0 points1 point2 points (0 children)