Core Java
-

JavaDocs Source Samples That Don’t Suck
JavaDoc source code embeds suck! I love JavaDoc but it didn’t age well. When you work with other tools (e.g.…
Read More » -

JavaOne 2015: Prepare For JDK 9 – blog@CodeFX
JavaOne 2015 saw a series of talks by the Project Jigsaw team about modularity in Java 9. They are all…
Read More » -

Mimicking Kotlin Builders in Java and Python
Intro Kotlin is probably my favorite language right now, and possibly one of the coolest things it has to offer…
Read More » -

Still Unsafe: The Major Bug in Java 6 That Turned into a Java 9 Feature
What does the future hold for sun.misc.Unsafe? With 2015 having just drawn to a close, we thought this would be…
Read More » -

Value types in Java: why should they be immutable?
Value types need not be immutable. But they are. In the previous post I discussed the difference between pointers and…
Read More » -

Writing 2 Characters into a Single Java char
Here’s another nice trick we used when creating the ultra low latency Chronicle FIX-Engine. When it comes to reading data…
Read More » -

If Java Were Designed Today: The Synchronizable Interface
Java has come a long way. A very long way. And it carries with it all the “junk” from early…
Read More » -

Reading/Writing to/from Files using FileChannel and ByteBuffer in Java
In the past, I have talked about RandomAccessFile and how it can be used for doing faster IO in Java,…
Read More » -

10 Examples of using ArrayList in Java – Tutorial
ArrayList in Java is the most frequently used collection class after HashMap. Java ArrayList represents an automatic re-sizeable array and used…
Read More »


