On 17/05/2015 02:06, Yonggang Luo wrote:
> I've found Microsoft already done that.

http://www.infoq.com/news/2015/03/JXcore-OpenSource

JXcore is a Node.js Fork that supports multiple JS engines including
Mozilla's Spidermonkey and Google's V8

http://oguzbastemur.blogspot.com/2015/02/now-asmjs-is-available-for-nodejs.html

Now ASM.JS is available for Node.JS Applications

ASM.JS, an extraordinarily optimizable, low-level subset of JavaScript.
Now it's available for Node applications. The latest JXcore (Github)
embeds SpiderMonkey in addition to V8 JavaScript engine. As you might
know V8 was able to run ASM.JS codes without much problem but there was
no optimization or performance gain in place (actually it is even
slower). As a result, it never made any sense to use ASM.JS code on a
Node.JS application.

Since JXcore has SpiderMonkey in place (in addition to V8), now it's
time to show a basic sample.

Save the JavaScript lines below into asmjs.js file
......more

http://www.goland.org/jxcore/
Interesting FAQ

https://lists.mozilla.org/pipermail/dev-tech-js-engine-internals/2014-March/001718.html
[quote]
till: boldest version is to recreate something like Spidernode and
promote it as NodeJS with asm.js and more support for newer language
features. asm.js seems to be a good answer to quite a few things that
nodejs does. NodeJS has a strength in being easily extensible by native
modules, but it sucks in shared hosting environments, because the native
stuff has to be trusted by whoever runs the server. Used because
reimplementing in JS would be too slow or too much work. Both are
addressed by asm.js, and would be persuasive to get members of the
NodeJS community to switch to our version.
[/quote]


Phil

-- 
Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to