Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78184

Re: Python advice

References <9b76b07d-db88-4e08-9abe-10df1ac9953e@googlegroups.com> <lvpo4b$38f$1@ger.gmane.org> <CALvWhxtXZfRHGKFDR6ygUv5wzSeGBYW-hG89k03aR3xD-z4O9A@mail.gmail.com> <CALwzidnT6ZHseYoSzFUm1Z=jw_R1dEoFFz2-m4W8fJa0ZEgghg@mail.gmail.com>
From Chris Kaynor <ckaynor@zindagigames.com>
Date 2014-09-22 14:59 -0700
Subject Re: Python advice
Newsgroups comp.lang.python
Message-ID <mailman.14236.1411423206.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

> On Mon, Sep 22, 2014 at 1:00 PM, Chris Kaynor <ckaynor@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.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python advice ngangsia akumbo <ngangsia@gmail.com> - 2014-09-22 01:09 -0700
  Re: Python advice ngangsia akumbo <ngangsia@gmail.com> - 2014-09-22 01:14 -0700
    Re: Python advice vek.m1234@gmail.com - 2014-09-22 02:10 -0700
  Re:Python advice Dave Angel <davea@davea.name> - 2014-09-22 14:03 -0400
  Re: Python advice Chris Kaynor <ckaynor@zindagigames.com> - 2014-09-22 12:00 -0700
    Re: Python advice wxjmfauth@gmail.com - 2014-09-22 23:22 -0700
  Re: Python advice Ian Kelly <ian.g.kelly@gmail.com> - 2014-09-22 13:39 -0600
  Re: Python advice Chris Kaynor <ckaynor@zindagigames.com> - 2014-09-22 14:59 -0700
  Re: Python advice Chris Angelico <rosuav@gmail.com> - 2014-09-23 10:55 +1000
  Re: Python advice Ian Kelly <ian.g.kelly@gmail.com> - 2014-09-23 08:48 -0600
  Re: Python advice Chris Angelico <rosuav@gmail.com> - 2014-09-24 01:08 +1000

csiph-web