r/javascript • • Jan 13 '16

Microsoft open-sources ChakraCore JavaScript engine (powers Microsoft Edge)

https://github.com/Microsoft/ChakraCore
337 Upvotes

106 comments sorted by

View all comments

17

u/khoker Jan 13 '16

Excuse my ignorance, but is there a goal in mind here?

Being Windows-only (yes?), I would think that a lot of developer focus would continue to stay with the cross-platform solutions like SpiderMonkey and V8 (and maybe Nitro, dunno)

40

u/[deleted] Jan 13 '16

There is actually an active Linux branch being developed.

Personally, I'm excited about being able to use it with Node - not that there's anything particularly wrong with V8, but it's just healthy to allow different underlying engines under the Node API.

16

u/dilijev Chakra Developer Jan 13 '16

Hi! Chakra developer here. Glad you asked! We actually have a lot of goals in mind. You can find out more on our Roadmap.

Additionally we've got some branches besides master available on the repo which have some work towards those goals. For those bigger goals, we're showing our progress in the open with the hope that the community might be able to help contribute to those efforts.

4

u/khoker Jan 13 '16

Cool. Thanks for the info. As an aside, is there anything you think your team is addressing better/more efficiently than Google or Mozilla?

8

u/dilijev Chakra Developer Jan 13 '16 edited Jan 13 '16

I'm relatively new to the team so I can't comment on specifics, but to answer this question in general terms you can look at how we perform on JS benchmarks like JetStream and Octane and the level of ES6 and ES7 standards we have implemented.

Some of that info is called out here: https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/

See also the Kangax Compatibility Table for ES6 and ES7.

And we've made some progress since the last Chakra/Edge release which is featured in that table (which was released with the Windows 10 November 2015 update).

Edited to include link to benchmark results.

5

u/wreckedadvent Yavascript Jan 13 '16

It's always a good thing to have more things open source like this. More sensible competition is never a bad thing. Open-sourcing things helps to give back to communities.

If you want something more practical for an answer though, MS has open-sourced other things in the past and hasn't exactly gotten nothing out of it.