Are there any ports or alternative implementations of the node.js platform with JavaScript mechanisms other than V8?

node.js is an open source JavaScript platform based on the Google V8 JavaScript engine. It is rapidly gaining popularity and importance for a couple of years.

Now node.js is just a platform. In essence, which JavaScript engine to use is just an implementation detail, and any JS engine could be used or even an abstraction to work with various JS engines.

Joyent probably opted for V8 because it is open source, has favorable licensing conditions and, as a rule, the fastest JS engine out there (but I believe that they overtook other engines from time to time).

Given that it is good to have many different but compatible implementations of many things that can be called "open standards", such as JS engines, web browsers, compilers for programming languages, etc .; of course, it is also good to have several server platform implementations like node.js

For example, there are JavaScript engines that work on almost every operating system and hardware, but V8 exists for only a few of them. It even turns out that Microsoft is promoting node.js for Windows Azure, although it depends on a lot of competing work, and even though they have their own JS engine that can compete with V8 for speed.

If such ports started, it would be very interesting for me to monitor their progress in order to control whether node.js can become an open standard.


& bull; I understand that node is not standardized, like JS and browsers, and that it is developing very quickly, but it did not stop anyone from scratching the itch. & Bull; If there is more than one port, I do not ask for opinions that, in your opinion, are better or which are more popular, this is not a question of a survey. & Bull; I also do not purchase node.js implementations, I am interested in whether node.js or something like this can be universally accepted as a platform or whether it will remain in the hands of one company.

+6
source share
5 answers

There is node-chakracore that uses Microsoft's open source JavaScript engine used in their Edge browser: https://github.com/Microsoft/ChakraCore/

They are actively working to improve the overall Node.js tests (like AcmeAir), improving their JIT / GC for server workloads and removing the v8-specific "CrankShaftScript" from the Node.js core .

As mentioned in the previous answer, there is also a spidernode that is based on the SpiderMonkey JavaScript runtime in the Mozilla Firefox browser.

You can keep up with how they improve performance by looking at the latest node.js CI builds .

+1
source

Yes, node.jar runs on the Nashorn engine on the JVM:

https://groups.google.com/forum/?fromgroups#!topic/nodejs/750fF6ruAdY

It would be nice if that worked.

+3
source

Mozilla SpiderMonkey + node core lib: https://github.com/mozilla/spidernode

+2
source

I just found out about another implementation.

io.js logo

This is actually the fork of the original node.js and is called io.js. The plug seems to have happened at the end of 2014 with the main goal of adding ES6 support (JavaScript ECMA-262) .

+1
source

Yes! And, apparently, there is only one implementation of node.js for the JVM only:

SprintStack : Parallel + Evented I / O for Rhino

SprintStack provides developers with a node-compatible environment with all the benefits of the JVM, such as idiomatic concurrency support, massive garbage collection and a huge set of existing libraries.

If you want your node.js applications to use a fast, mature virtual machine and state of the art in fault tolerant and distributed programming, try SprintStack!

(found this one mentioned in the thread related to 7zark7 anwser .)

0
source

All Articles