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


Groups > comp.lang.python > #78184

Re: Python advice

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ckaynor@zindagigames.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'subject:Python': 0.06; '22,': 0.09; 'components,': 0.09; 'correct,': 0.09; 'scripting': 0.09; 'python': 0.11; 'language.': 0.14; 'scripting.': 0.16; '\xc2\xa0i': 0.16; 'language': 0.16; 'wrote:': 0.18; 'written': 0.21; 'code,': 0.22; 'email addr:gmail.com&gt;': 0.22; 'switched': 0.24; 'mon,': 0.24; '&gt;': 0.26; 'primary': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; 'libraries': 0.31; 'piece': 0.31; 'sep': 0.31; 'received:209.85.212': 0.32; 'basic': 0.35; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'shows': 0.36; 'too': 0.37; 'received:209': 0.37; 'performance': 0.37; 'being': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'short': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'games,': 0.60; 'ian': 0.60; 'full': 0.61; 'such': 0.63; 'stand': 0.64; 'provide': 0.64; 'believe': 0.68; '1:00': 0.84; 'civilization': 0.84; 'games.': 0.84
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=3w99jGDWyVJ4VqL5aTMdnaiqrdPBu+fUTDEb9gEt+ig=; b=YfrqwBdsPQRn8RqkDJjpokxfmBtOZkXSZ7NuExWF5yBKkJC9V9LB1ds0XVF6OOCCY6 RW09yuVwaW2ODmbXVV6bRn3c1FMSmFWCHx2NNPy0J5zd9Ql7UsTK/khup8jDE2NxuXOL fHiYR2P1NizGBMmxnbTkTMH7ZTSY3bPbKQbt0C0hGXsNncHlJUt4BFtR6NhhR6gU9Lnp qM7xCKAsJlryhdcoOPida0tBlc4MWAg5qB1qsa7GQlUqL00HskXuMsaA1cvCuHVUm44U BYC9xAeiV7OmJw58ZK0zsmvQZtfGrukjqMq4a15bwTyAoJO4TpuMWqJdasOs3FqnzoBN Evsg==
X-Gm-Message-State ALoCoQngXIUdljeVotLt4Y0lPsgPJNd81vIiglhmmJk+PhoVR59bYYuvaC8Ag92R81/8VRc/UgR0
X-Received by 10.180.38.114 with SMTP id f18mr17956922wik.24.1411423204312; Mon, 22 Sep 2014 15:00:04 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <CALwzidnT6ZHseYoSzFUm1Z=jw_R1dEoFFz2-m4W8fJa0ZEgghg@mail.gmail.com>
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 Mon, 22 Sep 2014 14:59:44 -0700
Subject Re: Python advice
To Python <python-list@python.org>
Content-Type multipart/alternative; boundary=e89a8f6439c6b8aca40503ae9257
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14236.1411423206.18130.python-list@python.org> (permalink)
Lines 59
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1411423206 news.xs4all.nl 2978 [2001:888:2000:d::a6]:42822
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78184

Show key headers only | 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