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:
- the Chakra work included an auto-AST transform thinger to adjust things to we maintain backwards compatibility.
- we bite the BC bullet, because the impact is mostly theoretical.
Benefits: faster js, modern JS language features, fewer packaging woes.
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:
Benefits: faster js, modern JS language features, fewer packaging woes.