Python advice

Chris Kaynor ckaynor at zindagigames.com
Mon Sep 22 23:59:44 CEST 2014


On Mon, Sep 22, 2014 at 12:39 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:

> On Mon, Sep 22, 2014 at 1:00 PM, Chris Kaynor <ckaynor at zindagigames.com>
> wrote:
> > Python is pretty good base-line language. It is really good as a glue
> > language to piece together other components, or for IO-bound or
> user-bound
> > code, but will not preform well enough for many other applications such
> as
> > games. It is good for short parts of games, but a full next-gen engine
> would
> > be much too slow if written in pure Python, however Civilization 5 uses
> > Python as its scripting language. There are also libraries available that
> > can provide enough performance to do basic games in Python.
>
> Correction: Civilization 4 used Python for scripting. For Civilization
> 5 they switched to Lua, I believe for performance-related reasons.
>

I stand corrected. A quick search shows you are correct, for all of Civ4
using Python, Civ5 using Lua, and the primary reason being performance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140922/d5468bd7/attachment.html>


More information about the Python-list mailing list