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

Show parent comments

6

u/brandf Jan 14 '16

Having used V8, JSC, and Chakra to power our app on various platforms, I'd like to call out Chakra as being both easy to integrate into your app (particularly using WinRT class bindings), and easy to debug (unlike v8 which requires jumping through hoops if you're not chromium).

Good work guys! Glad to see it open sourced.

2

u/nschubach Jan 14 '16

How's that WinRT work in Linux? ;)

0

u/brandf Jan 14 '16

ChakraCore doesn't actually have the WinRT binding stuff, I was using JSRT (full chakra on windows). Doesn't really matter because our app supports multiple JS backends and we only use Chakra on Windows.

On Linux (which we don't have plans on supporting outside the browser) we would likely go V8 to get JIT right now, which would be more of a pain for us in a number of ways.

2

u/bterlson_ @bterlson Jan 14 '16

ChakraCore has JSRT! ch.exe (our console host) is implemented using it. But you're right that we don't have the WinRT (UWA API?) projection layer as part of ChakraCore.