ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

What's the Best Scripting Language?

<< < (2/2)

mitzevo:
Recently I'm intrigued by Squirrel: http://squirrel-lang.org/
-mouser (August 11, 2006, 12:42 PM)
--- End quote ---

Why is that?

mouser:
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.

rkarman:
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.

Navigation

[0] Message Index

[*] Previous page

Go to full version