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

Show parent comments

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.