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
- 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
#java #jep #instanceof
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
Check out the current state of Project Loom (lightweight threads, "virtual threads" as they call them) in Java.
#java #loom #coroutine
#java #loom #coroutine