basho/erlang_js — pull request #32 by lemenkov (2012-09-24 17:24:05+00:00)
Title: [RFC][W.I.P.] Build with js-1.8.5

Currently erlang_js uses a very old js library - 1.8.0-rc1 (a pre-Firefox4 library from the year 2009). It also builds against a very old nspr (older that version shipped with RHEL5) but that's another story.

My fellow Fedora Project members and contributors ported all codebase to js-1.8.5 instead which claimed to be much faster than previous versions:

* https://developer.mozilla.org/en-US/docs/SpiderMonkey/1.8.5

I'd like to share this *preliminary* work with you in hope that it could be useful.

This particular pull request consists from only two patches and DOES NOT intended for merge (again BEWARE! DO NOT merge it blindly!). The former patch removes almost all js/nspr-related stuff and ensures that erlang_js will be built against system-wide libraries instead - so it's probably not what you really want since it could break building on some rare Unix species (xBSD, namely). I added it just for the reference. The latter one does the actual job.

I'm looking forward to hearing from you - any comments and suggestions are welcome. No seriously - these js and nspr tarballs are awfully old. Let's upgrade them!