Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
Some explanations on I/O stuff:
- What is the difference between I/O-bound and CPU-bound tasks
- What is non-blocking I/O about (java.nio)

#java #io #nio
Check out this JEP. They propose to enhance instanceof so it can be used like this:
if (obj instanceof String s) {
    // can use s here
} else {
    // can't use s here
}

 
#java #jep #instanceof
Records (kind of data classes for Java) continue to evolve and it's great! JEP 384 is a second iteration based on the first preview feedback.
 
#java #records #jep
Check out the current state of Project Loom (lightweight threads, "virtual threads" as they call them) in Java.
 
#java #loom #coroutine
Draft JEP on Primitive Objects.
It’s something like an immutable class without identity. Copy of such an object is an exact copy of that original object. And there are plans on treating int, boolean, etc. as primitive objects. We’re waiting for you, List<int>!

#java #jep #primitive
Two for the price of one this time. Bruce Eckel (you’ll most probably know this guy, at least for the β€œThinking in Java” book) in his post has criticized Gradle a bit, and CΓ©dric Champeau (was building Groovy, is building Gradle) has tried to challenge Bruce’s points.

#gradle #java #groovy