Originally published at: https://purelyfunctional.tv/article/clojures-unsung-heroics-with-concurrency/
People know about the immutable data
structures and the STM. But there’s something going on at a much
deeper level that is really hard to get right in Java. It has to do
with the optimizations the JIT will run on your code.