It's all in your head, Part 9

The only place you'll ever hear the truth
redavi
level0
Posts: 1
Joined: Thu Mar 06, 2008 1:29 am

javascript?

Postby redavi » Thu Mar 06, 2008 1:39 am

What about Javascript? Pretty sure everyone and their mother knows it by now.

The SpiderMonkey JS engine is available from mozilla.org along with embedding documentation. Implementation-wise the engine is rock solid, and getting even more so with the new support from Adobe with the Tamerlin (ActionScript engine) code from Flash.

The issues that come to my mind are the MPL/GPL/LPGL license (up to you guys how this effects you), and it's implemented in C not C++.

http://developer.mozilla.org/en/docs/SpiderMonkey
User avatar
Pox
level5
level5
Posts: 1786
Joined: Sat Mar 03, 2007 11:23 am
Location: Melbourne

Re: javascript?

Postby Pox » Thu Mar 06, 2008 4:07 am

redavi wrote:What about Javascript? Pretty sure everyone and their mother knows it by now.

The SpiderMonkey JS engine is available from mozilla.org along with embedding documentation. Implementation-wise the engine is rock solid, and getting even more so with the new support from Adobe with the Tamerlin (ActionScript engine) code from Flash.

The issues that come to my mind are the MPL/GPL/LPGL license (up to you guys how this effects you), and it's implemented in C not C++.

http://developer.mozilla.org/en/docs/SpiderMonkey


Well SDL is LGPL, and they've been quite happy using that for a while ;)

Dunno about actually using JS though... it's great for web, but how's the object-oriented support? Considering the scalability that Updefwinia has so far, I don't think it'd be appropriate, unless I've missed a whole subset of what it can do.
User avatar
prophile
level5
level5
Posts: 1541
Joined: Fri Feb 18, 2005 4:17 pm
Location: Southampton, UK
Contact:

Postby prophile » Thu Mar 06, 2008 6:02 pm

JavaScript works fine as a game scripting language - it's the language of choice for the Unity engine.

They did have a particularly fast custom implementation, however.

Also, it's probably best for Introversion if they keep the taint of the GPL as far away from their software as possible.
mb108
level0
Posts: 2
Joined: Wed Feb 13, 2008 3:44 pm

Postby mb108 » Fri Mar 07, 2008 1:29 am

"taint" .... ?

LGPL is fine as long as you link dynamically.
User avatar
shinygerbil
level5
level5
Posts: 4667
Joined: Wed Dec 22, 2004 10:14 pm
Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
Contact:

Postby shinygerbil » Fri Mar 07, 2008 2:01 am

prophile wrote:JavaScript works fine as a game scripting language - it's the language of choice for the Unity engine.

They did have a particularly fast custom implementation, however.


Unity is fast? When did that happen?

This, while being an absolutely awesome game, runs abysmally slowly. (Although I haven't played since it first came out, so I don't know if their optimisations have actually improved anything.) So many people complained about the game's poor performance. And before you say it was the web player - I tested a downloadable version, and it was no better.
User avatar
KingAl
level5
level5
Posts: 4138
Joined: Sun Sep 10, 2006 7:42 am

Postby KingAl » Fri Mar 07, 2008 5:25 am

I dunno, the trees didn't spontaneously appear directly in front of me quite so much.
Gentlemen, you can't fight in here: this is the War Room!
Ultimate Uplink Guide
Latest Patch
User avatar
Pox
level5
level5
Posts: 1786
Joined: Sat Mar 03, 2007 11:23 am
Location: Melbourne

Postby Pox » Fri Mar 07, 2008 6:38 am

prophile wrote:Also, it's probably best for Introversion if they keep the taint of the GPL as far away from their software as possible.


Taint? You need a good stabbing, the LGPL is perfectly fine for including in commercial software, and the relation to the orthodox GPL keeps it nice and awesome.
User avatar
prophile
level5
level5
Posts: 1541
Joined: Fri Feb 18, 2005 4:17 pm
Location: Southampton, UK
Contact:

Postby prophile » Fri Mar 07, 2008 5:08 pm

shinygerbil wrote:
prophile wrote:JavaScript works fine as a game scripting language - it's the language of choice for the Unity engine.

They did have a particularly fast custom implementation, however.


Unity is fast? When did that happen?

This, while being an absolutely awesome game, runs abysmally slowly. (Although I haven't played since it first came out, so I don't know if their optimisations have actually improved anything.) So many people complained about the game's poor performance. And before you say it was the web player - I tested a downloadable version, and it was no better.


Unity as a whole is not particularly fast, but its Javascript implementation is.
RabidZombie
level5
level5
Posts: 2414
Joined: Fri Nov 18, 2005 10:09 pm

Postby RabidZombie » Fri Mar 07, 2008 7:16 pm

prophile wrote:...but its Javascript implementation is.


In the sense it isn't slowing down the already slow engine. ;)
User avatar
Feud
level5
level5
Posts: 5149
Joined: Sun Oct 08, 2006 8:40 pm
Location: Blackacre, VA

Postby Feud » Fri Mar 07, 2008 10:10 pm

Real programmers code with butterflies.
RabidZombie
level5
level5
Posts: 2414
Joined: Fri Nov 18, 2005 10:09 pm

Postby RabidZombie » Fri Mar 07, 2008 10:42 pm

'Cause, there's an Emacs command to do that.
Rkiver
level5
level5
Posts: 6405
Joined: Tue Oct 01, 2002 10:39 am
Location: Dublin, Ireland

Postby Rkiver » Fri Mar 07, 2008 10:44 pm

Real programmers code with the random fluctuations caused by what chaos theory predicts when a butterfly flaps it's wings on the otherside of the planet.
Uplink help: Read the FAQ
RabidZombie
level5
level5
Posts: 2414
Joined: Fri Nov 18, 2005 10:09 pm

Postby RabidZombie » Fri Mar 07, 2008 10:50 pm

Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.
Mas Tnega
level5
level5
Posts: 7898
Joined: Sat Mar 02, 2002 11:54 pm
Location: Edinburgh
Contact:

Postby Mas Tnega » Fri Mar 07, 2008 10:55 pm

Real programmers already have all the code they need[size=0], only none of it will talk to each other[/size].
Last edited by Mas Tnega on Fri Mar 07, 2008 10:56 pm, edited 1 time in total.
Rkiver
level5
level5
Posts: 6405
Joined: Tue Oct 01, 2002 10:39 am
Location: Dublin, Ireland

Postby Rkiver » Fri Mar 07, 2008 10:55 pm

Mas Tnega wrote:Real programmers already have all the code they need, only none of it will talk to each other.


That's the quote of this thread right there.
Uplink help: Read the FAQ

Return to “Introversion Blog”

Who is online

Users browsing this forum: No registered users and 4 guests