Fast and Secure Inter-process Communication on JDK 16 - Inside Java Newscast #11#videoJDK 16's socket channel / server-socket channel API can use Unix domain sockets for faster and more secure inter-process communication on the same host - also: JDK 17 final release candidate and Oracle Developer Live
Random Numbers and JDK Flight Recorder - Inside Java Newscast #9#videoThe new API for random number generation in Java 17 - why it needed to change and how the new API is more usable, extensible, and robust - and how to get started with JDK Flight Recorder, particularly on Java 16.
Why Java's Records Are Better* Than Lombok'sWhile all three remove boilerplate, the similarities don't go much further. Records have stronger semantics with important downstream benefits, which makes them better*. (* not always; depends on circumstances; excuse the clickbait)
@Dataand Kotlin's Data Classes#post
Quicker Java and JDK 16 compatibility - Inside Java Newscast #3#videoA walk through language features, APIs, and JDK capabilities that make Java quicker to use with less ceremony and more immediate results. Also, a rundown of some of the projects with all tests green on JDK 16.
Vector API, Record Serialization, And Java 17 Release Schedule - Inside Java Newscast #2#videoShort introduction to the Vector API (incubating in JDK 16) and an update on serializing records. Also, a quick mention of JEP 356 in JDK 17 and the proposed release schedule.
Java 16 Rundown, First Of Java 17 - Inside Java Newscast #1#videoJava 16 got released, so I go over most of the additions like records, Stream APIs, Unix Domain Socket support, and much more. Then there's a first glimpse at Java 17.
Definitive Guide To Java 16#postA detailed guide to Java 16: records, type patterns, sealed classes;
Streamand HTTP/2 additions, Unix domain socket support; Project Panama previews, packaging tool, performance improvements, and more
Code-First Unix Domain Socket Tutorial#postJava's socket channel / server-socket channel API can use Unix domain sockets for faster and more secure inter-process communication on the same host
Type Pattern Matching withType patters with
instanceofare Java's first step towards pattern matching. Motivation, syntax, details, and future applications - here's all you need to know.
BrokenJava 16 adds a new method
Stream::groupwith Java 16's
Streamand it can be abused to simulate a reverse-
groupoperation (with shortcomings).
FasterJava 16 adds a new method
Stream::mapMultiin Java 16#post
Stream. It fills the same role as
flatMap, but is more imperative - and faster.