Tag: java
All the articles with the tag "java".
On JDK-8377386: dot product instructions for the Vector API
Why a pure-Java media codec library needs widening dot products in the Vector API, and what shape the operation should take on x86 and Arm.
Warm up Vector API
I've been working for a while on a library that decodes, encodes, demuxes, muxes and processes images, audio and video in plain Java, leveraging the Vector…
Dev server - Hot reload for Maven and Gradle builds
Design notes for a Quarkus-style hot-reload dev server for Javalin, implemented as Maven and Gradle plugins with a TCP proxy in front of the app.
PEXT/PDEP intrinsics cause a performance regression on AMD pre-Zen 3 CPUs
Updated:How a varint decoder led to my first JDK contribution: Long/Integer.compress and expand were slower than plain Java on AMD pre-Zen 3 CPUs, where PEXT/PDEP run in microcode.
Proposal: Allow annotations on module directives
A proposal, with a working JDK prototype, to let module-info directives like requires and exports carry annotations, just as the module declaration can.
Enhance proxy support in java.net core libraries
Three proposed enhancements to proxy support in the JDK's networking classes: SOCKS for HttpClient, saner basic-auth defaults, and per-Socket authenticators.
ModernProtobuf - A compact and flexible protoc implementation to serialize, deserialize and generate/update java models
A compact and flexible protoc implementation for Java that serializes, deserializes and generates modern Java models, aiming for Jackson-like flexibility.
Named and Optional Parameters in Java 17 - Redefined Version
Almost one year ago, I published a thread here on Reddit explaining a project that I had just completed to add Named and Optional parameters to Java. Some…