Save over 40% when you secure your tickets today to TNW Conference 💥 Prices will increase on November 22 →

This article was published on December 5, 2015

Microsoft’s power move: open sourcing Edge’s Javascript engine


Microsoft’s power move: open sourcing Edge’s Javascript engine Image by: Shutterstock

If you’ve been paying attention to Microsoft over the last year, you’ve probably noticed that the company has changed its attitude toward the open-source community in a huge way.

In just the past few months the company has open sourced its code editor, Visual Studio’s code building tool, a video standard and more.

Today, it’s taking that one leap further and open sourcing ChakraCore, the JavaScript engine behind the new Edge browser included with Windows 10.

Chakra is the engine used to execute JavaScript that was developed from scratch in 2008 and has the most compatibility with the ECMAScript 6 standard over other engines, including Google’s V8.

While Chakra is at the core of only the Edge browser, it s used across Windows 10 to power Universal Applications on Xbox, Windows Phone and tablets.

ChakraCore, which will be made available on GitHub within the month, is a self-contained JavaScript virtual machine that the company now allows developers to implement inside their own products.

Screen Shot 2015-12-04 at 12.23.55 PM
Components in purple outline will be open sourced

It only contains the ‘core packages’ for the engine, so does not expose Chakra’s private bindings to Edge or Universal Applications or make available a COM API for diagnosis.

Beginning in January 2016 Microsoft will allow external developers to contribute to the project via pull requests on GitHub and more details on how to collaborate will be shared at that time.

It’s an interesting — and impressive move — for Microsoft, a company that has historically kept its code under wraps and rarely open sourced projects.

Google open sourced its rendering engine, V8, many years ago and has seen great success with community collaboration on the project, as well as its adoption in other browsers and application stacks.

As Microsoft turns over a new leaf under its new CEO, Satya Nadella, the company continues to show that it’s committed to open sourcing projects — and that it’s willing to listen to developer feedback.

Microsoft hopes ChakraCore will be used in a wide range of applications in the future, from cloud services to the Internet of Things, but it’ll be interesting to see if there are enough reasons to shift from Google’s offering.

ChakraCore will be available on GitHub in January for download and integration into your own apps.

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with