Seems SpiderMonkey JS engine does no longer support VC6

Want to discuss changes to the UOX3 source code? Got a code-snippet you'd like to post? Anything related to coding/programming goes here!
Post Reply
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Seems SpiderMonkey JS engine does no longer support VC6

Post by Grimson »

I decided to update the JS sources, big mistake they fail to build using VC6. A short search on the Mozilla news server revealed this post:
Brendan Eich wrote:
> Gerry Sweeney wrote:
>> Hi,
>>
>> I have now downloaded a snapshot from CVS of the JS source code. I
>> have it building now but the file jsautokw.h is missing. Although the
>> engine builds if I comment out the #include for this file, I have a
>> feeling its important. ;-) From what I can see on Google this file is
>> meant to get created from the "jsopcode.tbl" file. Is that the case?
>
>
> No, it is generated from jskeyword.tbl.
>
> I thought this was fixed already. Cc'ing Igor and Michael, who no
> doubt know more than I do.


Michael kindly reminded me that you must be using js.mak. We haven't updated that. We'd like to retire it, or else find a volunteer to maintain it (and whatever .mdp or other files are around from the old days). I recall Bob Clary brought up axing js.mak before and someone said "please don't". Problem is, it costs and we aren't able to pay any longer. Who is?

/be
Sounds like they decided to drop support for VC6 with the current version. :( Which means I have to use a quite old version of SpiderMonkey to build UOX3 in the future.
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Your best bet is to get the JS_150 branch, as that should be the final release of JS 1.5 which should compile under VC6. The HEAD branch (much like ours) is in a much less stable condition.
Scott
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Hmm, strike that... it seems JS 1.5 doesn't have support for the extended classes Maarc recently implemented. :P
Scott
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

I'm currently using a CVS checkout from the 25. January 2006. This one seems to compile and work well with the current UOX3 code.
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Seems like the Mozilla people finally had an insight, the current Spidermonkey sources do work with nmake again.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Which Spidermonkey/JS version are we currently using, and - if it's not the latest - does the latest one work? :P

Edit for posterity: We're using 1.6.0 =)
Last edited by Xuri on Sun Nov 08, 2009 2:31 am, edited 1 time in total.
-= Ho Eyo He Hum =-
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

*bump*

Also, interesting links about TraceMonkey, "an evolution of Firefox's SpiderMonkey JavaScript engine for Firefox 3.1 that uses a new kind of Just-In-Time (JIT) compiler to boost JS performance by an order of magnitude or more":
TraceMonkey
TraceMonkey: JavaScript Lightspeed
The birth of a faster monkey
Trace-trees FAQ
-= Ho Eyo He Hum =-
Post Reply