Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SpiderMonkey version #1875

Open
janl opened this Issue Jan 25, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@janl
Copy link
Member

janl commented Jan 25, 2019

Follow up for: #1334

Very WIP branch here: https://github.com/apache/couchdb/tree/sm52

The plan roughly is to bring our SM dependencies to a new release, which means rewriting a bunch of our C/C++ goop that binds SM to our CLI tool.

The newer version will not accept CouchDB-style function declaration as-is, but there are two options to deal with this:

  1. the Chakra work included an auto-AST transform thinger to adjust things to we maintain backwards compatibility.
  2. we bite the BC bullet, because the impact is mostly theoretical.

Benefits: faster js, modern JS language features, fewer packaging woes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.