Page 1 of 1

Seems SpiderMonkey JS engine does no longer support VC6

Posted: Fri Feb 24, 2006 7:34 pm
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.

Posted: Fri Feb 24, 2006 9:28 pm
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.

Posted: Fri Feb 24, 2006 9:39 pm
by giwo
Hmm, strike that... it seems JS 1.5 doesn't have support for the extended classes Maarc recently implemented. :P

Posted: Sat Feb 25, 2006 4:15 am
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.

Posted: Fri Apr 07, 2006 11:41 pm
by Grimson
Seems like the Mozilla people finally had an insight, the current Spidermonkey sources do work with nmake again.

Posted: Sat Jul 19, 2008 4:18 pm
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 =)

Posted: Sat Aug 23, 2008 5:46 am
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