Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Scripting AI...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ashley Fryer  
View profile  
 More options Jun 18 1998, 3:00 am
Newsgroups: comp.ai.games
From: phula...@DIESPAMDIEbmarket.com (Ashley Fryer)
Date: 1998/06/18
Subject: Re: Scripting AI...

In article <35892576.9750...@read.news.global.net.uk>,
dki...@see.sig.for.addr says...

> You missed out Python - currently my favourite language. It is easily
> embeded and extended and has been widely ported. Python syntax is very

I originally planned to use Python as my embedded scripting language
before turning to Lua.  I read the Nutshell book, lurked the mailing list
for 4-5 months, downloaded the last 2 versions and wrote several Python
scripts.  After all of that preparation, I abandoned Python for Lua.

Reasons I chose Lua over Python:

Lua is lighter.  IIRC, basic Python compiled to ~500K versus ~100K for
Lua.  Yes, some of the Python stuff can be ripped out if you don't need
it, but it's much easier if the stuff isn't there in the first place.

Lua is easier to embed.  Python is more difficult to embed than Lua
because Python isn't _exclusively_ an embedded language.  Python has
broad application, and it's better than Lua for many purposes, but it's
not easier to embed.  Lua was designed from the ground up as an embedded
language, therefore it excels at embedding.  I know that everyone always
says it's easy to embed, but it's just not as easy as Lua.

On the other hand, Python has many advantages over Lua:

Python is more object oriented.  

Python has a vast collection of powerful support libraries ( FTP, HTTP,
.jpeg, etc. ), including a lot of networking code.

The Python crowd is very friendly and very supportive.  They are cool
people to hang out with.  Guido ( the author of Python ) is simply
amazing... he personally answers most questions that are posted.

So, bottom line, if you need what Python's got, go for it, but if you
want easy embedding, Lua's the right tool.

Regards,
ashley


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google