Live data from Hacker News

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

github.com

61–70 of 104 posts

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

#61

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.

and chakra is currently faster than both on the octane and jet stream benchmarks

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

#62

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.

Given node.js supports native code modules I can't see why it'd matter, but SpiderMonkey has a special asm.js compilation unit, OdinMonkey, giving best-in-class asm.js speed.

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

#63

Embrace: https://nodejstools.codeplex.com/ http://azure.microsoft.com/en-us/develop/nodejs/ Extend: https://github.com/Microsoft/node Extinguish: ?

Given all that Microsoft has been doing lately I'd really be surprised if this is all an elaborate ruse to squash node. Having been around when the actual "embrace, extend, extinguish" was running at full throttle, though, I can tell you what it does looks like: "Full access to UWP APIs from Node.js applications" When you use platform-exclusive features then you not only lose a major strength of node, but you put the…

It's a choice for the developers. They can use Node standalone or inside a Universal Windows application with access to the underlying platform using JavaScript.

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

#64
post #46
post #35

Earlier quoted context omitted.

> The CEO responsible for that whole ordeal is gone. When do people decide Microsoft has behaved long enough to be given a second chance? If the company clearly changes it's course, right? Though it doesn't seem to be the case, despite two CEO changes since Bill Gates. Recent news show more or less what they are still up-to. Yesterdays plans to stop producing Windows and "Win10 as a service": https://news.ycombinator…

All you did is make a list. Can you expand this into something coherent? Office uses a documented XML format now, Silverlight is dead, and I don't see how Xbox One is in any way relevant. Not sure how making Windows free is "embrace, extend, extinguish." Most operating systems are free. People make new languages based on old ones all the time, so you're going to have to expand on the problem with TypeScript. I could…

> Office uses a documented XML format now

It's still formats that can't be fully implemented without breaking compatibility with MS products.

PS: Personally I like what MS doing now and I accept that this can be serious change, but that would be dumb to trust them until like 3-5 years pass at least.

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

#65
post #5

"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." (the submission title has been updated after I posted this, was initially "MS releases a fork of Node that uses the Chakra JavaScript engine instead of V8") Looks like they intend to merge back with node mainline... ? EDIT: Found this: http://blogs.windows.com/buildingapps/201…

The question is why should node/io.js take such a pull request. It adds support for an irrelevant platform and would add the burden of maintaining the 'wrapper' which will probably break on every v8 update.

If it adds an engine abstraction layer which would allow users to choose an engine (and somebody implements SpiderMonkey support there), sure why not.

Though this is a job that is already done by JXCore.

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

#66

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.

I can attest to that. I was experimenting a couple of days ago with high duty and extreme DOM nodes crunching and FF's SpiderMoneky blew Chrome's V8 out of the water for 7 - 9 multiples gain in performance measured in time elapsed to complete the operations. Chrome's V8 engine at this point is so overrated

This reinforce my feeling that most of the issues with Firefox is the GUI framework.

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

#67
post #52
post #29

Earlier quoted context omitted.

How long will Microsoft wait till the fix MAXPATH and other limitations? (and various other Win32 limitations that are usually a legacy porting helper thing from Win16). There would have been a good point with the introduction of Win64API - but Microsoft forgot about it and was apparently busy with something else.

I doubt it's too high up on the list of priorities. It would require really careful work to work in a backwards compatible way (there are almost certainly a tonne of apps that expect I guess the main thing is that it's one of those 'who cares' problems. The only time I've ever seen this limitation being complained about, it's by people who've had problems with npm. That directory structure is undoubtedly horrible and…

Meanwhile it's also a "who cares?" problem for the npm people. They don't use this OS, and don't expect ever to do so.

I think the node_modules directory structure is a novel, though straightforward, solution to the problem of interdependent module versioning. It's very Unix; it reminds me a bit of GNU stow. It makes perfect sense that it will be tweaked in the new npm to be less redundant, but it only really makes sense to tweak systems that already work perfectly. (Otherwise they should be fixed first, then tweaked.) Certainly it's better than having a separate LD_LIBRARY_PATH setting for every command invocation! (even that doesn't fix everything...)

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

#68
post #35
post #24

Earlier quoted context omitted.

Looks like it's been close to a decade. The CEO responsible for that whole ordeal is gone. When do people decide Microsoft has behaved long enough to be given a second chance?

> The CEO responsible for that whole ordeal is gone. When do people decide Microsoft has behaved long enough to be given a second chance? If the company clearly changes it's course, right? Though it doesn't seem to be the case, despite two CEO changes since Bill Gates. Recent news show more or less what they are still up-to. Yesterdays plans to stop producing Windows and "Win10 as a service": https://news.ycombinator…

I will comment that, had you actually posted a link to the HN comment thread on your TS influencing ES6 development, you'd have noticed there are several comments as to how, no, they are not. In fact, they've diverged quite a bit from ES6, and now have work to realign TS with ES6's newer drafts.

I also really don't understand how a 1994 memo or the Microsoft Network plan are relevant. Those are both pre-lawsuit, how are they relevant today?

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

#69
post #56

Interesting that Microsoft forked Node instead of io.js. The Microsoft repo says, "This branch is 16 commits ahead, 29 commits behind joyent:master".

I work for MS, right now we're working on win10. Some of the UI is written in html/js now, so I'm not surprised by this at all. I'm guessing we'll see some native node.js apps on windows in the future.

I think what the OP meant was that it is interesting that MS forked Node, and not the io.js project that's more advanced than Node.

IMO it's not too surprising - it's relatively simple to fast forward to io.js from where it is now, wheras reverse engineering it backwards to Node compatibility would be mayhem.

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

#70
post #52

Earlier quoted context omitted.

I doubt it's too high up on the list of priorities. It would require really careful work to work in a backwards compatible way (there are almost certainly a tonne of apps that expect I guess the main thing is that it's one of those 'who cares' problems. The only time I've ever seen this limitation being complained about, it's by people who've had problems with npm. That directory structure is undoubtedly horrible and…

Meanwhile it's also a "who cares?" problem for the npm people. They don't use this OS, and don't expect ever to do so. I think the node_modules directory structure is a novel, though straightforward, solution to the problem of interdependent module versioning. It's very Unix; it reminds me a bit of GNU stow. It makes perfect sense that it will be tweaked in the new npm to be less redundant, but it only really makes s…

It doesn't even seem like an obvious solution to the problem. Take Maven for instance: a global dependency repository under which the dependencies are stored in the form //. If X depends on Y.1 and Z depends on Y.2, so what? You have all the dependencies stored on your filesystem in a relatively flat structure.
Post reply on HN