Topic

Java

Everything filed under Java, newest first.

Showing 1–8 of 8 articles

  • I Can't Believe It Can Sort!

    A short explainer of the 'I can't believe it can sort' algorithm from Stanley P. Y. Fung's paper: a deceptively simple O(n^2) nested-loop swap sort, with pseudocode and a Java implementation.

    Tutorial · algorithms · sorting · java

    1 min · 256 words

  • Building Java ME Apps with Modern Tooling

    ROllerozxa walks through building Java ME (J2ME) apps for old feature phones with modern tooling: OpenJDK 8, MicroEmulator stub JARs for the CLDC 1.1 and MIDP 2.0 APIs, compiling with javac, packaging the JAR, preverifying with ProGuard, getting it onto a phone, and the platform's limitations.

    Tutorial · Programming · Java · Retro Computing

    7 min · 1,668 words

  • Java's new AOT cache feature is in a rough state

    Christopher Schnick of XPipe details the pitfalls of shipping the JDK's new ahead-of-time (AOT) cache in a real desktop application distributed to users: how training runs and cache creation work, conditions under which the cache is silently ignored, JVM crashes caused by CPU feature mismatches between build and user machines, and the build scripts XPipe now uses to roll it out safely.

    Blog post · Java · JVM · Performance

    22 min · 5,011 words

  • My Friend Bob Cringely

    Paul Tyma remembers his 30-year friendship with tech writer and broadcaster Bob Cringely, from a 1996 phone call praising his Java book that led to building the Pronto magazine-delivery system, through years of startup-idea emails, a visit to Sun Microsystems over a C# column, and a VH1 geek interview, reflecting that Cringely's true gift was on camera.

    Essay · Tech History · Silicon Valley · Java · Remembrance

    7 min · 1,668 words

  • Spring AI Modular RAG and TypeSafe Jev: Retrieve More, Keep Only What Answers

    Christian Tzolov walks through Spring AI modular RAG plus TypeSafe Jev: rewrite/expand the query before retrieval, then keep only chunks that actually answer—contrasting naive QuestionAnswerAdvisor RAG with a live demo pipeline.

    Blog post · AI · LLMs · Programming · Tutorials

    6 min · 1,487 words

  • SafeRE 1.0 released

    Eddie Aftandilian ships SafeRE 1.0, a linear-time Java regex library built with agents: differential testing vs the JDK, ReDoS resistance by construction, and performance that now beats JDK and RE2/J on Rebar workloads.

    Blog post · Programming · Java · Security · Open Source

    5 min · 1,062 words

  • Java sealed classes and exhaustive pattern matching

    Neil Madden explains that exhaustive switch pattern matching over Java sealed types makes adding a new subtype a breaking change, and that consumers which aren't recompiled only fail at runtime. He argues sealed types used across module or API boundaries can introduce new ways to break code, citing the PEM-encoding JEP preview.

    Blog post · Java · Programming Languages · Software Engineering

    3 min · 642 words

  • Full Haskell-like Type Class resolution in Java

    Gabriel Garcia re-implements Haskell-style type classes in pure Java: using reflection and generics to parse static types, unify them, and automatically resolve instance witnesses, then extends the approach to higher-kinded types, context instances and overlapping instances, with worked examples like Show, Monoid, Traversable and Monad.

    Tutorial · Programming Languages · Java · Haskell

    32 min · 7,285 words