You are getting boring with all that Python (2/3)

April 12th, 2008

Not awesome

OK, so why do I think python is nice but not the most awesome language there is.

I can not make in-browser (flash) games with python like I can for example in Haxe (swf).

I can not make cpu intensive games with it like I can for example in Java or Processing (like this). And these games can still run in a browser via applets, even with openGL if you are lucky.

I can use wxPython to make desktop apps, positive is that they have native GUI, negative is that I have to program in a dirty low level of a c++ to do it. You even look at c++ wxWidgets API docs to program python (at least few years back you did). Swing (yes from “horrible clumsy Java” that gets compared to py a lot) is the most advanced and elegant GUI thing I have ever seen for example. So at the end, I don’t want to use python to do GUI apps.

Python as a language is nice, but I would like something like OCaml with some added elegance 150x more, I want more FP power, I want revolutionary progressive/aggressive languages… like Lua, OCaml, Factor and Haxe/nekoML/neko-vm or clojure.. Guido guides python on too safe paths IMHO..

OKeyish

I will probably use python for not cpu intense casual games via pycap. Rabbyt and pyglet are also cool but only for non casual games (no DX) where I usually have different needs for cpu or if I don’t I do them in haxe to get flash deployment option too.

Python has a very nice set of 3d engines (Panda3d, pythonOgre, irrlich binding…) and if I was making something 3d and light on the cpu I could use it. ( Well, a big competitor for this use case for me is Luxinia with lua which I played with a lot and like it a lot ) but python still is strong in light 3d.

I might use it for web-apps also. I think there has some very good points compared to scripting relatives (php, ruby, perl..), it’s quite faster and I wouldn’t use Java for web-apps because I have a feeling it imposes to much structure for a web-app. But all these langs would loose my focus immediately if something like OCaml would have a good low level web server base to build upon. Currently my favorite here is Factor but I am in experimental phase with it.

I will write one more post about this.

Read and let read :)
  • del.icio.us
  • Reddit
  • Digg
  • DZone
  • email
  • Facebook
  • HackerNews
  • Twitter
  • StumbleUpon

2 Responses to “You are getting boring with all that Python (2/3)”

  1. Anocka Says:

    About ocaml, the ocsigen server has recently been released in 1.0, (see http://www.ocsigen.org/), maybe it fits your needs ?

  2. janko Says:

    Hi, thanks for the news. After that presentation in Paris I got a feeling ocsigen is very focused on academic research still (at least that was the impression I got from ocaml irc channel). Otherwise I want something lower where I can build structure on my own but I am sure I could inject into ocsigens server clooser to the metal and use it if I wanted (like something like a responder level). I will look at it, thanks!

Leave a Reply