couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject SpiderMonkey 1.8.5 upgrades
Date Fri, 01 Apr 2011 23:26:07 GMT

Mozilla released a SM 1.8.5 source distribution this morning [1].
We've been getting requests from various places to upgrade our couchjs
to use this newer version for a couple weeks and now that its
available, there's no better time to act.

As can be expected, this new SpiderMonkey has a fairly significant API
change from what we've been using in couchjs. Up until now we've been
able to get away with supporting 1.7 and the 1.8.0rc1 tarballs without
much hassle. The new API makes this much more difficult. Chris C
Coulson from Ubuntu has been working on a patch that'll allow us to
work with 1.8.5 and (IIRC) should work with the 1.8.0rc1 but it
includes some extra gnarly ifdef magic to make things work.

So my question is what versions of SM should we support? I would
probably vote to drop everything in favor of 1.8.5 and no longer
support the older APIs. There is a possibility of just having two
versions of couchjs that we choose at compile time. But from what I've
heard and seen, we're basically not going to be able to have a single
compile time ifdef decision on versions without some super screw code.



View raw message