Why C++ ?

I made mention of my venturing back into the world of C++, and was asked why I was interested in doing so given all the Java work I do. The best answer I can give is based on a comment which I think was made by Bjarne Stroustrup himself when asked about the advantages of […]

Continue Reading...

Procedural Terrain With Java – part 1

Every year, around Christmas time I always get a hankering to write some 3D terrain rendering code. Not so much the actual rendering engine, that part has already been done with 3D APIs such as OpenGL and Direct X. Its more about rendering a 3D terrain generated by code, more specifically pseudo-random numbers, enabling a […]

Continue Reading...

Java Patterns For Concurrency

This post talks about some of the patterns we can use to solve concurrency issues relating to state shared across multiple threads. The goal is to provide some smarter alternatives to slapping synchronized on every method call, or around every block of code. The problem with synchronized is that is requires everyone to participate. If […]

Continue Reading...