r/programming • • Dec 05 '15

Microsoft Edge’s JavaScript engine to go open-source

https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/
1.6k Upvotes

504 comments sorted by

View all comments

63

u/[deleted] Dec 05 '15

Can this run standalone on raspberry pi, linux, osx? Or does it require some form of windows?

163

u/bterlson_ Dec 05 '15 edited Dec 05 '15

Hey, I work on the Chakra team.

Chakra Node can run some IOT devices. See here: https://blogs.windows.com/buildingapps/2015/05/12/bringing-node-js-to-windows-10-iot-core/.

Cross-plat, as mentioned, is coming later, but we're super eager to hear from you guys in the meantime what platforms you want to see supported!

Edit: seriously guys, what platforms do you want? If no one says anything I'm going to pick Solaris. ;)

3

u/[deleted] Dec 05 '15

What is the relation to Node? As someone new to the MEAN stack, is this a replacement or...?

3

u/Patman128 Dec 05 '15

Node is built on top of the V8 JavaScript engine.

In theory the engine could be swapped out with Chakra, though in practice it would cause a lot of problems due to all the modules that contain C++ code which directly interacts with V8.

2

u/vivainio Dec 06 '15

The amount of widely used C++ modules is small, and the modules themselves are very small and easy to port. Seems Node community has exercised good restraint in this sense.

1

u/Patman128 Dec 06 '15 edited Dec 06 '15

Yes, they have done quite well in that regard.

And as someone who develops on Windows I'm used to everything going to shit as soon as native code becomes part of the equation, especially from past experiences with C++ and Python (pre-3.5). But with Node/node-gyp everything seems to just work, and thanks to nan it even works across different version of Node.