Re: Scripting Systems

Brian Hook <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <2004130155011.088017@GATEWAY>
> Yes indeed.  The JavaScript 2.0 spec apparently adds optional
> static type checking.  I think JavaScript has somewhat more
> practical syntax and class semantics, compared to Lua, as well.
> I've never tried to embed a JavaScript interpreter though.

JavaScript gets a bit of a bad rap, mostly because it's associated 
with, say, mouse rollovers.

There was a discussion about this on the vworld-tech mailing list, and 
basically one of the big things, IMO, that's holding back mass 
adoption of SpiderMonkey is that people just have no idea if it's fast 
or not.

As much as the GLCS is a pile of poo, it's all a lot of people have to 
go on when it comes to real world performance measurement.  When I saw 
Ruby routinely being outperformed by a factor of 5 to 10 or more, I 
knew that it probably wasn't going to be practical for my use.

Since the NJS implementation scored poorly, that was the only 
datapoint I had to go by for SpiderMonkey even though it's an 
unrelated codebase.  I was taken to task for this assumption 
(rightfully so), but at the same time that's effectively asking me to 
try out every language and see for myself if it's going to be 
effective or not, and I don't have that kind of time.  There are 
probably 20 or so small languages that are interesting in some fashion 
or another (Small, IO, etc.) but which I don't have the time to really 
sit down and exhaustively give a "fair" assessment.

So I put the onus on the implementors if they want people to adopt 
their stuff.

And in situations like that, I pretty much fall back to Lua =)

Brian




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.