Game Of Life (Conway) in Java
I have had a fascination with the game of life by Conway for many years, too many to mention. I wrote a life client on an A5000 and optimized the hell out of it on that beautiful ARM processor. That little 20 mhz ARM out performed a 66 mhz 486 dx2 in this discipline.
Later I re-write it in C++ for Linux under X. I used Lesstif (originally I bought a Motif package, but later re-worked it to work with the excellent Lesstif). For that I wrote a set of wrappers to expose the Lesstif controls as C++ classes… Satisfied? Of course!
Last year (2007) I re-write it in Java, just to prove to myself that you can write super efficient algorithms in Java without sacrificing OO design principals. And I succeeded beyond expectations..
The only problem is that I always did this for my personal satisfaction. So to break the habit of a lifetime, I’m going to bare all. They aren’t pretty, but they do prove a point. Bare metal optimization is really cool!!
Link coming soon.
[edit]