Python - Java - !#$% - Python
Thursday, November 29th, 2007I was programming in Python a lot for web and desktop few years back. At that time I thought Java is the horrible clunky bureaucratic language (”public static void main”) that nobody sane uses. OK, only old block-headed grunts who are to stiff to change. I stopped using python one day. I made games in c++, web in php and no desktop apps for some time so python sort of fell off.
.. time passed ..
I had a complex desktop project to make. I started with C# and just for joke switched to Java. I was blown away by some alien elegance of this beast. I fell in love with Java. My definition of Java goes like this “Java is complex to do simple things and still just complex to do very complex things”. I decided I will never use c++ again and will use flash (haxe) for online light games and java for desktop games.
.. time passed ..
One of my web-games will be upgraded to full casual (portal-ish) down-loadable game. Because this is a casual game I needed a DX renderer for windows and here the quest started. “How to do casual hardware accelerated games that use DX on windows with a higher level language than c++??” . The answer is problematic.
After one month of seeking I found nothing. I was looking at solutions for Java & Scala (both JVM), Lua, Python, Ruby, Lisp, Scheme, Ocaml, Nekovm, Haskell. Everything I could find was software rendered or openGL accelerated.
I found nothing, so I returned back to c++ and started making a engine with embedded neko-vm (btw. neko-vm is great and systematic thing) and (great) PTK library. Then I realised that I am making THE wrong thing that I kept seeing other game-devs make continuously (do you want to make engines, or do you want to make games ? ).
I had licence for TGB from a year back and never used it. I started playing with it for the first time and it got quite interesting.
![]()
Then the python apocalypse came. I stumbled over SpriteCraft, a python game engine with a very nice clean API and DX renderer!?! I played with their shooter demo - tweaking the code all night to the morning. I was hooked. I concluded that this would be great for light casual games.
Next day I came to Rabbyt engine. Python + openGL + some very cool features. It would be great for some of my harcore-ish games. I came from there to Pyglet which also has an interesting mix of “media” powder. Note that these two are both openGL.
A day after that - the PyCap was released. This is the python binding for Popcap games framework and if you know anything about “casual games” you know who is Popcap.
Only one sentence comes to mind for the end “All paths lead to Pytown”.
Well Java is still also cool, and so are many other languages, but python showed itself as cool tool with the right “batteries” for the job needed in this case and it leaped forward noticeably in the few years I wasn’t using it.
