Re: JS Version and more...
By: tracker1 to Digital Man on Thu Jun 09 2016 04:52 pm
First, I'm wondering what the current version of SpiderMonkey is in place....
You mean in Synchronet? We're using Mozilla JavaScript-C (a.k.a. SpiderMonkey) v1.8.5.
I'm pretty sure most of ES6/2015 is close to release at this
point... beyond this, what would it take to get CJS/node style require/module/exports in place?
I'm not sure what "CJS/node style" means, but Deuce recently introduced a require() method in Synchronet. I'm not sure if it conforms to "CJS/node style", but I doubt it.
I figure it would make a lot more existing
code usable... of course, now things are moving towards ES6 module import/export syntax, not sure how spidermonkey will expose that via api for loaders.
SpiderMonkey has historically not included anything in its "core" JavaScript object model that opens or modifies files. I'm assuming the require/module/exports thing you speak of refers to other/external JS modules/files, so that would definitely be reaching into new territory for SpiderMonkey.
In any case, I'm in no rush to start a new JS engine update. We're still finding and fixing bugs from the last update (back in 2011).
digital man
Synchronet "Real Fact" #61:
How to get Synchronet technical support:
http://wiki.synchro.net/howto:support Norco, CA WX: 74.5øF, 60.0% humidity, 8 mph ESE wind, 0.00 inches rain/24hrs ---
þ Synchron