Live data from Hacker News

Why CCP is still using Python 2

robg3d.com

1–10 of 95 posts

Re: Why CCP is still using Python 2

#2
I don think it should surprise anyone here that users with enterprise-size Python codebases aren't jumping to Python 3. PEP 373 doesn't end support until 2015, and I assume at that point RHEL or maybe even someone in the python community will pick up the torch (a la Rails LTS).

I think by far the more interesting question is what is going on with today's green-field projects (a.k.a. the enterprises in the making). Whoever steps forward to maintain 2.7 long-term will probably be charging an arm and a leg (Red Hat I'm looking at you) and so of course this is unaffordable for bootstrapped companies and ordinary folks will not be able to afford a security patched Python 2 install.

Meanwhile the statistics I've seen for green-field development are mixed-to-promising for Python 3. I know for my new projects I'm over 50% 3.3. And when the shoe drops with 2.x support EOL, I think that's going to give it a serious kick.

Re: Why CCP is still using Python 2

#3
As someone who works in VFX I can sympathise with CCP on this.

However the real question is: why should port everything to 3? none of the software in VFX uses it, plus a lot of people aren't really up to speed with the changes.

What is the point? yes the language "purer" but that doesn't make my life easier......

Re: Why CCP is still using Python 2

#8
post #6

Does anyone know what parts of the game client are using Python? Are they using it for scripting?

All of it, at least the last time I checked.

You used to be able to wrap the client in your own Python, execute that, and give yourself extraordinary powers (read data from any market in game, send a pop up message to any player, etc)

Re: Why CCP is still using Python 2

#9
post #6

Does anyone know what parts of the game client are using Python? Are they using it for scripting?

Python is used throughout the whole product, both server and client. AFAIK, especially the UI is written mostly in Python.

I am not an expert though, but I do follow their very interesting dev blog. A few references:

http://highscalability.com/eve-online-architecture http://www.slideshare.net/Arbow/stackless-python-in-eve

Re: Why CCP is still using Python 2

#10
post #6

Does anyone know what parts of the game client are using Python? Are they using it for scripting?

The whole client uses python, or at least did back in 2008. Someone decompiled and released the source at one point, which allowed various exploits and easier macroing.
Post reply on HN