Live data from Hacker News

Enable Node.js to Run with Microsoft's ChakraCore Engine

github.com

31–40 of 130 posts

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#31

It's important to remember that ChakraCore only currently builds on Windows, so this is only for Windows Node.js builds. The ChakraCore roadmap [1] shows that they plan on porting the interpreter to Ubuntu, but not to Mac OS, and they don't plan on porting the JIT. So even it does go Windows + Linux, it will still be a low-performing toy on Linux. This is vaguely interesting from a technical point of view, but doesn'…

There was just a comment on GitHub [1] that updates this a bit:

> For cross-platform support, the key target for next six months on the roadmap is to get the interpreter & runtime working. JIT would come after that (don't read it as no JIT forever - it was just a breakdown of what we need enable and its ordering for next 6 mos).

So maybe eventually it will be fully supported. (No update on Mac OS yet, but I can give them the benefit of the doubt there...)

[1]: https://github.com/nodejs/node/pull/4765#issuecomment-172942...

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#32

It's important to remember that ChakraCore only currently builds on Windows, so this is only for Windows Node.js builds. The ChakraCore roadmap [1] shows that they plan on porting the interpreter to Ubuntu, but not to Mac OS, and they don't plan on porting the JIT. So even it does go Windows + Linux, it will still be a low-performing toy on Linux. This is vaguely interesting from a technical point of view, but doesn'…

Didn't they open sourced the engine? If so people can port it as they like.

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#33

It's important to remember that ChakraCore only currently builds on Windows, so this is only for Windows Node.js builds. The ChakraCore roadmap [1] shows that they plan on porting the interpreter to Ubuntu, but not to Mac OS, and they don't plan on porting the JIT. So even it does go Windows + Linux, it will still be a low-performing toy on Linux. This is vaguely interesting from a technical point of view, but doesn'…

[deleted]

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#34

It's important to remember that ChakraCore only currently builds on Windows, so this is only for Windows Node.js builds. The ChakraCore roadmap [1] shows that they plan on porting the interpreter to Ubuntu, but not to Mac OS, and they don't plan on porting the JIT. So even it does go Windows + Linux, it will still be a low-performing toy on Linux. This is vaguely interesting from a technical point of view, but doesn'…

The goal is for all of ChakraCore to be broadly cross-platform eventually, including the JIT, and including many more platforms than just Ubuntu x64. The roadmap reflects our next steps for the next 6 months but is not the entire journey.

Disclosure: I work on Chakra

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#35
post #14

I don't understand what the goal is here. Honest question, not a criticism. Can someone please explain. Is the intention to have node work on multiple Javascript engines like spidermonkey? I can see why Chakra developers could want this but as a developer using node I don't see how I would benefit.

I think the goal is to have Node applications in the windows store. Having a v8 dependency there would be a big problem with embedded devices. Microsoft is trying to get into the whole IoT hype. This would help them a lot. It also means they can write servers on Azure that don't need to be able to run V8. Mostly windows store apps though.

This will certainly help with the development of .NET development. My team has been burned a few times by Windows specific compilation errors.

Hopefully this will reduce the necessity to have a non-Windows machine around. That aspect has made things tedious for us.

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#36
post #12

I don't understand what the goal is here. Honest question, not a criticism. Can someone please explain. Is the intention to have node work on multiple Javascript engines like spidermonkey? I can see why Chakra developers could want this but as a developer using node I don't see how I would benefit.

For example the chakra engine has a better coverage of es6 than v8. see edge score there https://kangax.github.io/compat-table/es6/

We're working on updating Kangax, but V8 now has 92% ES6 coverage in Chrome Canary (on track for shipping in Chrome M49)!

Disclaimer: I work on V8

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#37
post #21

Interesting development, a good one at that! A few questions though. Node tracks V8 releases, so the first thing I'm wondering is whether ChakraCore will continue emulating V8 APIs into the future? What happens when ChakraCore adds breaking changes which V8 doesn't support? I presume MS will be supporting most development on the engine, as they benefit from IoT Core and other applications relying on Node. If Mozilla…

> If I were to predict, I'd see Node switching to ChakraCore as its primary engine in a year.

Chakra doesn't even compile on Mac OS or Linux, where the majority[1] of instances run. If I didn't know better, I'd say Microsoft isn't interested in Chakra-Node running on other platforms - only on Windows, but with a V8-beating performance or other 'desirable' Chakra-only extensions (extend). Want high performance NodeJS? Find it on Windows/Azure (extinguish)

1. This is an educated guess

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#38
post #2

This is incredibly cool, I have a request. Please do not post comments on the GH issue unless you have something important to add. These issues gain a lot of attention and it makes it _incredibly_ hard for collaborators to communicate. Locking the issue to collaborators means other people from the outside who have a significant contribution or want to help can't do that. Comments like +1 -1 and such create a signific…

+1

This got downvoted? Lighten up HN, it's a joke. The same comment on DN would have gotten a ton of upvotes, and the coldness of HN's lack of humor makes this place really off-putting.

Re: Enable Node.js to Run with Microsoft's ChakraCore Engine

#39

It's important to remember that ChakraCore only currently builds on Windows, so this is only for Windows Node.js builds. The ChakraCore roadmap [1] shows that they plan on porting the interpreter to Ubuntu, but not to Mac OS, and they don't plan on porting the JIT. So even it does go Windows + Linux, it will still be a low-performing toy on Linux. This is vaguely interesting from a technical point of view, but doesn'…

And how do they expect to be taken seriously if they are not going truly cross platform?
Post reply on HN