DonationCoder.com Forum

Other Software => Developer's Corner => Topic started by: mouser on August 11, 2006, 12:42 PM

Title: What's the Best Scripting Language?
Post by: mouser on August 11, 2006, 12:42 PM
After a recent discussion about adding scripting to Screenshot Captor (https://www.donationcoder.com/forum/index.php?topic=4725), I thought it might be interesting to look at some recent discussions on the web about different scripting languages.

Here's a nice comparison of different scripting languages:


http://merd.sourceforge.net/pixel/language-study/scripting-language/

[ You are not allowed to view attachments ]
 (http://merd.sourceforge.net/pixel/language-study/scripting-language/)

See also these interesting discussions:

Recently I'm intrigued by Squirrel: http://squirrel-lang.org/
Title: Re: What's the Best Scripting Language?
Post by: mouser on August 11, 2006, 12:57 PM
another nice comparison of syntax across languages:
http://merd.sourceforge.net/pixel/language-study/syntax-across-languages.html
Title: Re: What's the Best Scripting Language?
Post by: mouser on August 11, 2006, 01:01 PM
and a nice programming language news page:
http://tacojuice.org/plnews/
Title: Re: What's the Best Scripting Language?
Post by: Eóin on August 11, 2006, 01:13 PM
Whoa thats a lot of imformation to take in :o .
Title: Re: What's the Best Scripting Language?
Post by: housetier on August 11, 2006, 02:26 PM
and no purty pictures either  :huh:
Title: Re: What's the Best Scripting Language?
Post by: mitzevo on August 11, 2006, 02:29 PM
Recently I'm intrigued by Squirrel: http://squirrel-lang.org/

Why is that?
Title: Re: What's the Best Scripting Language?
Post by: mouser on August 11, 2006, 02:32 PM
i'm a very long time c++ coder and squirrel feels alot more like c++ syntax than lua.

this page compares them:
http://wiki.squirrel-lang.org/default.aspx/SquirrelWiki/LuaComparedToSquirrel.html
http://www.gamedev.net/community/forums/topic.asp?whichpage=2&pagesize=25&topic_id=352278

i also was interested very much in being able to sandbox functions and only provide the scripting language to exactly the functions i wanted, and it seems like squirrel is better at that.
Title: Re: What's the Best Scripting Language?
Post by: rkarman on August 12, 2006, 05:44 PM
i wrote a chat server that supports javascript as scripting language (via spidermonkey from mozilla). one great thing about javascript is that is provides all things you need in a language, but nothing that goes out of the scope of the language itself.

no functions to access a disk or a keyboard or anything. you can write your own functions and objects (and implement them in c or c++) and let them define the whole environment where your scriptiong language is running in.

in my oppinion javascript is one of the few (if not only) languages that is designed to be a scripting engine for anything you like.