-
Core Java

What are the bad features of Java
Overview When you first learn to develop you see overly broad statements about different features to be bad, for design,…
Read More » -
Core Java

Inconsistent operation widen rules in Java
Overview When you perform a unary or binary operation in Java the standard behaviour is to use the widest operand…
Read More » -
Core Java

Java 8 Optional is not just for replacing a null value
Overview In Java 8, you can return an Optional instead of return null; as you might do in Java 7.…
Read More » -
Software Development

Mixing memory unit messages
One of my pet hates is developers messing up units of memory. In general, the difference doesn’t matter much, or…
Read More » -
Core Java

Java Lambdas and Low Latency
Overview The main question around the use of Lambdas in Java and Low Latency is; Does they produce garbage and…
Read More » -
Core Java

How and Why is Unsafe used in Java?
Overview sun.misc.Unsafe has been in Java from at least as far back as Java 1.4 (2004). In Java 9, Unsafe will…
Read More » -
Core Java

On heap vs off heap memory usage
Overview I was recently asked about the benefits and wisdom of using off heap memory in Java. The answers may be…
Read More » -
Core Java

Chronicle Map and Yahoo Cloud Service Benchmark
Overview Yahoo Cloud Service Benchmark is a reasonably widely used benchmarking tool for testing key value stores for a significant…
Read More » -
Core Java

A Java conversion puzzler, not suitable for work (or interviews)
A really hard interview question would be something like this: int…
Read More »

