Archives
All the articles I've archived.
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…
[SILOptimizer] Don't treat a borrowed addressable argument as escaping for the purpose of write effects
Removing a useless swift_bridgeObjectRelease from hot loops by teaching the SIL optimizer that a borrowed addressable argument can be read, but never written.
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.
Sampling should support embedded resources
Why MCP sampling requests should accept embedded resources like PDFs, just as prompts already do.
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.
Artemis - Alternative HIDIVE streaming client for iOS devices
Updated:Artemis is an alternative streaming client for HIDIVE built for iOS devices using SwiftUI.
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…
Backwards compatible, null safe, non-null by default type system proposal
A major challenge in keeping java up to date going forward is probably keeping the type system competitive with other programming languages. Java's type…
Named and Optional Parameters in Java
Updated:Hello, this is my third compiler related project. If you've missed the previous one, you can check them out here:
OptionalDesugarer: Type safety with no overhead
Hello, I'm back with another compiler related project. If you don't remember me/didn't read my previous post about Reified, an annotation processor that…
Reified - Enhanced Type Parameters in Java 11 and upwards
Updated:Reified works by hooking into the Java Compiler. Officially, the tools needed to inject trees into the AST are not available to annotation processors or…
WhatsappWeb4j - A standalone WhatsappWeb library
this is my first serious open-source project. I got the idea to write this library because every implementation I could find either relied on a browser and…
Some features I'd like to see in feature Java releases
Updated:Java has been my first programming language and, even though as the years have passed I've tried other languages, I can't help but feel like java does…
Flutter Web Engine: Make the html page adapt to the canvas' size instead of hiding it
A proposal to let the browser scroll Flutter Web pages natively instead of hiding the overflow and simulating scrolling with transforms.