TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Temporary fork enables Node.js to optionally use the Chakra JavaScript engine

170 pointsby chcokrabout 10 years ago

14 comments

eliseeabout 10 years ago
&quot;This temporary fork enables Node.js to optionally use the Chakra JavaScript engine on Windows 10, allowing Node.js to run on Windows on ARM.&quot; (the submission title has been updated after I posted this, was initially &quot;MS releases a fork of Node that uses the Chakra JavaScript engine instead of V8&quot;)<p>Looks like they intend to merge back with node mainline... ?<p>EDIT: Found this: <a href="http:&#x2F;&#x2F;blogs.windows.com&#x2F;buildingapps&#x2F;2015&#x2F;05&#x2F;12&#x2F;bringing-node-js-to-windows-10-iot-core&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blogs.windows.com&#x2F;buildingapps&#x2F;2015&#x2F;05&#x2F;12&#x2F;bringing-no...</a><p>They&#x27;re doing this to be able to run Node.js apps on Windows 10 ARM (on which V8 supposedly doesn&#x27;t run?)<p>&quot;We will be submitting a pull request to Node.js after stabilizing this code, fixing key gaps and responding to early community feedback.&quot;<p>&quot;Going forward, we plan to work closely with the Node Foundation, the Node.js Technical Committee(s), IO.js contributors and the community to discuss and participate in conversations around creating JavaScript engine agnostic hosting APIs for Node.js, which provide developers a choice of JavaScript engine that they would want to use in their Node.js workflow&quot;<p>Looks like the pull request will consist mostly of exposing new hooks to integrate with Chakra &#x2F; other JS engines and won&#x27;t involve pulling any Chakra code into Node.js (which would be unlikely to be merged). Might lead to a SpiderMonkey version of Node.js at some point, too. Nice to see IO.js mentioned. Looks like a very positive initiative (assuming it doesn&#x27;t complicate Node core too much)
评论 #9535965 未加载
评论 #9534483 未加载
评论 #9536181 未加载
评论 #9534601 未加载
评论 #9534689 未加载
bhoustonabout 10 years ago
It would be cool if the JavaScript engine was interchangable in NodeJS and IO.JS so you could pick Chakra, V8 or SpiderMonkey very easily. SpiderMonkey is faster than V8 these days on a lot of benchmarks.
评论 #9534677 未加载
评论 #9534424 未加载
评论 #9535010 未加载
评论 #9534948 未加载
cpetersoabout 10 years ago
Interesting that Microsoft forked Node instead of io.js. The Microsoft repo says, &quot;This branch is 16 commits ahead, 29 commits behind joyent:master&quot;.
评论 #9534772 未加载
cmwelshabout 10 years ago
Can I browse my node_modules folder in Explorer yet? [1]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;joyent&#x2F;node&#x2F;issues&#x2F;6960" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joyent&#x2F;node&#x2F;issues&#x2F;6960</a>
评论 #9534237 未加载
评论 #9534231 未加载
cpetersoabout 10 years ago
JXcore is another fork of Node that makes the VM pluggable, supporting both V8 and SpiderMonkey. I wonder how similar Microsoft&#x27;s and JXcore&#x27;s VM abstraction layers are and whether Node upstream would accept them. Drawing a hard line between the Node native code and the VM would make binary addon compatibility more stable (and lessen the need for NaN, the &quot;Native Abstractions for Node&quot;).
评论 #9534513 未加载
htilfordabout 10 years ago
This was a long time coming. I remember some MS folks talking to Ryan Dahl about doing this back at nodeconf 2011.
Ezhikabout 10 years ago
I wonder if MS is going to end up open sourcing Edge? Between this and the fact that Visual Studio Code uses Chromium, it really seems like where MS should head, but who knows.
评论 #9537019 未加载
Hansiabout 10 years ago
Is there a benchmark comparison available anywhere?
frikabout 10 years ago
What about the license of Node.js&#x2F;Chromium? Isn&#x27;t linking a closed source library (Chakra) problematic?<p>You know it includes multiple code parts under various licenses, Wikipedia says: BSD license, MIT License, LGPL, MS-PL and MPL&#x2F;GPL&#x2F;LGPL tri-licensed ( <a href="http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Chromium_(web_browser)" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Chromium_(web_browser)</a> )<p>There is a reason why major open source projects like Linux, etc. choose licenses like GNU GPL v2+. <a href="http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend_and_extinguish" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend_and_extinguish</a> and <a href="http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fear,_uncertainty_and_doubt" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fear,_uncertainty_and_doubt</a>
评论 #9534401 未加载
评论 #9534425 未加载
评论 #9534326 未加载
rational-futureabout 10 years ago
Will this work on Raspberry Pi?
评论 #9534484 未加载
评论 #9534277 未加载
z3t4about 10 years ago
I wonder if they have made it so that you can use milliseconds (1&#x2F;1000) instead of (1&#x2F;100) in setTimeout and setInterval. It was one of the things that annoyed me the most running Node.JS on Windows ...
flipchartabout 10 years ago
I wasn&#x27;t aware that Chakra could be used standalone in this manner. I had assumed that it was tightly bundled to IE. Is this new?
评论 #9534250 未加载
plumaabout 10 years ago
I know Microsoft apparently has changed, but just to play devil&#x27;s advocate:<p>[x] embrace<p>[x] extend<p>[ ] extinguish
评论 #9534561 未加载
评论 #9536409 未加载
评论 #9534906 未加载
ilakshabout 10 years ago
I don&#x27;t see how anyone can rationally trust Microsoft here given their track record.