Recent Posts

The FFM API: How OpenJDK Changed the Game for Native Interactions (And Made Pi4J Better!)

Author: Frank Delporte Original post on Foojay: Read More Table of Contents A Quick History LessonForeign Function & Memory (FFM) API The Problem With JNI How The FFM API Evolved Simple Code Examples Why the FFM API Matters for Raspberry Pi Projects Pi4J Architecture The FFM Transformation A Community Success Story Beyond Raspberry Pi Pi4J Examples Using the FFM API …

Read More »

The Ultimate 10 Years Java Garbage Collection Guide (2016–2026) – Choosing the Right GC for Every Workload

Author: Alexius Dionysius Diakogiannis Original post on Foojay: Read More Table of Contents IntroductionWorkload Analysis and Strategic Selection Microservices (Spring Boot/Quarkus) Legacy JEE (WebLogic/JBoss/Payara) Stateful UI (Vaadin/JSF) Data Intensive (Spark/Flink/Batch) Ultra-Low Latency Technical Performance Deep Dives Migration Trade-offs: ParallelOld to ZGC Microservices and Cumulative Latency Database Connectivity Stability Technical Matrix and Decision Logic Collector Comparison (JDK 8–25) The Decision Tree …

Read More »

Pointer Arithmetic in Modern Java

Author: David Vlijmincx Original post on Foojay: Read More Table of Contents IntroductionBackground Info Warning The SetupComparing ApproachesBenchmarkConclusion Introduction In this post, we dive into a more advanced topic: pointer arithmetic in Java. With the introduction of the Foreign Function & Memory API (Panama), we can interact with native memory. Usually, when we work with off-heap memory, we use MemorySegment …

Read More »