Implementing Java.util.concurrent.ArrayBlockingQueue

java.util.concurrent.ArrayBlockingQueue (j.u.c.ArrayBlockingQueue from here on) provides an elegant solution to the classic producer-consumer problem. To understand its internals, the post implements the data structure from-scratch and step-by-step, using… Read more

Similar

Jextract, Distilled (Java Project Panama)

The idea behind the jextract tool is to mechanically generate a set of interfaces from a C header file. Together, these interfaces can be thought of as Java bindings for the native library whose headers has been processed by jextract. These interfaces are... (more…)

Read more »