Inner classes in Java

A primary challenge in Primitive is unifying the bytecode representation of a code base — the canonical representation of what will……


Can we make Java better already?

Fair warning, before I begin, this is a rant. I spent the last two weekends trying to put together a project using Spring Boot, JDBI, Postgres, and Liquibase. I spent the entire time fighting with the tooling. Spring, for all... (more…)

Read more »

Improving on Types: Specing a Java Library

Good application developers use existing libraries rather than reinventing every wheel. This is particularly true on the JVM, where there are a huge number of wheels to choose from. So in addition to writing good code, developers need be able to ass... (more…)

Read more »

Java – Project Lilliput

In 64-bit Hotspot, Java objects have an object header of 128 bits: a 64 bit multi-purpose header (‘mark’ or ‘lock’) word and a 64-bit class pointer. With typical average object sizes of 5-6 words, this is quite significant: 2 of those words are al... (more…)

Read more »