Slashdot Mirror


Microsoft Asks Node.js To Allow ChakraCore (Edge) Alongside Google's V8 Engine (softpedia.com)

campuscodi writes: Microsoft has submitted an official pull request to the Node.js project, through which it's asking the project's maintainers to enable support for ChakraCore, the JavaScript engine packed inside Microsoft's Edge browser, as an alternative to Node's built-in V8 engine, developed by Google. Earlier in December 2015, Microsoft open-sourced ChakraCore. Microsoft has also been one of the biggest companies to adopt Node.js early on, and is also part of the Node.js Foundation's Board o Directors. The main reason to add ChakraCore support in Node.js will help the IoT version of Windows 10 to run JS apps on IoT devices, just like Samsung is also thinking about.

146 comments

  1. What if they say no? by itomato · · Score: 1

    Who sits on the board, and whose thumbs are they gonna twist?

    1. Re:What if they say no? by LifesABeach · · Score: 1

      Microsoft involved? What could possibly go wrong?

    2. Re:What if they say no? by Anonymous Coward · · Score: 0

      This is the best sarcasm of the century .

    3. Re:What if they say no? by Anonymous Coward · · Score: 0

      Why WOULD they say no? That would prompt Microsoft to fork and/or create something that's going to compete, and like it or not, it'd restrict the node.js market for no good reason.

      If Microsoft is playing nice with the open source community, what possible reason would there be for them to say "No, absolutely not"? They may want architectural changes, or additional tweaks, but there's absolutely zero reason for them to flatly refuse to incorporate open source code written by Microsoft, other than idiotic pissing contest mentality that seems so prevalent here on Slashdot.

  2. Typo by Anonymous Coward · · Score: 0

    Don't they mean "Board o' Directors"?

  3. Why not... by Anonymous Coward · · Score: 2, Insightful

    Edge is a lot faster than Chrome in a lot of areas and handily spanks Firefox. Nothing wrong with competition.

    1. Re:Why not... by Z00L00K · · Score: 3, Insightful

      Do you have any documentation available on that?

      Not only benchmarks but also perceived performance by the user.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    2. Re:Why not... by Anonymous Coward · · Score: 5, Funny

      If only there was a queryable index of websites you could search by keyword this would be a lot easier. Guess we'll never know.

    3. Re:Why not... by Anonymous Coward · · Score: 0

      I also want proof that chakracore will assist me during meditation.

    4. Re:Why not... by mwvdlee · · Score: 2, Insightful

      Does it matter? If ChakraCore's language support for JavaScript covers 100% of V8's language support, no more no less, they can integrate it in Node.js just let the user decide which is better in which situation.

      The main issue is this language compatibility. Node.js would need to define the language syntax they officially support, possibly defined by just taking most of V8's language support, and would have to get a binding commitment that the other one will stay in line within a reasonable time and not enable any additional language features.

      If the two start to deviate in any significant way, it'll be Embrace, Extend & Extinguish all over again.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    5. Re:Why not... by jopsen · · Score: 1

      main issue is binary modules...

    6. Re:Why not... by Anonymous Coward · · Score: 1

      Why would MS have to restrict themselves to the subset implemented by V8? Who's to say that node won't change their mind and use Chakra and replace V8?

      In fact, who's to say that V8 won't change their language implementation in ways incompatable with node.js anyway?

        There clearly is a push inside node.js to target ES6 instead of V8's particular variant.

    7. Re:Why not... by Anonymous Coward · · Score: 1
    8. Re:Why not... by Anonymous Coward · · Score: 1

      Probably not much. See benchmarks of a pre-release version of Edge from May last year.

    9. Re:Why not... by Melkman · · Score: 2

      So basically you say this is the embrace step with an extend step to follow by using binary extensions ?

    10. Re:Why not... by Anonymous Coward · · Score: 2, Insightful

      That's nice, but that's

      1. A benchmark of WebGL and not the JavaScript engines
      2. A benchmark of asm.js which is a Firefox thing

      All it proves is that a benchmark optimized for Firefox is fastest in (gasp) Firefox.

      Any benchmark designed around testing real-world browser performance shows Chrome and even Edge handily spanking Firefox. Firefox is only "fast" in the benchmarks that either are designed to test Firefox technology (asm.js) or benchmarks Firefox has optimized itself for. But never in the real world.

    11. Re:Why not... by mwvdlee · · Score: 3, Insightful

      There's nothing stopping V8 from doing the same dick-move.
      But right now, Node.JS's language effectively IS whatever V8 is.
      If Node.js can set their own language standards and block syntax outside that standard, it would make swapping engines a total non-issue.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    12. Re: Why not... by tigersha · · Score: 1

      I have a web app that uses javascript heavily to render a complicated table

      In my experience edge is much faster with HTML rendering of a large table but the js is slower

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    13. Re:Why not... by Anonymous Coward · · Score: 1, Informative

      Nothing wrong with competition.

      Very true. But this is Microsoft. A corporation that will wiggle into protocols and standards, then use their market share to gain instant market penetration, and then add proprietary extensions or redefine existing functionality with the sole purpose of breaking compatibility to ensure their implementation is the only one people can use.

      That's the biggest issue, and why people are deeply concerned. They never want to help, they want to embrace, extend then extinguish. It's their modus operandi since the 1980s, and nothing they've done since has said they'll work with others to the mutual benefit of us all. Their end-game is always the same. Sometimes they'll just cause delays, purely to get their own copycat version out first.

      Trust them at your peril!

    14. Re:Why not... by Anonymous Coward · · Score: 0

      If every single person works to find a source for the original claims, there will be a lot of different interpretations and no way to discuss it. Not really a good option.

    15. Re: Why not... by Anonymous Coward · · Score: 0

      Backwards compatibility so the dev shops already building on top of V8 node.js don't have to go back and refactor all their scripts because some yahoo decided to start using the ChakraCore engine instead. Where ChakraCore can take advantage is if they offer support for features that V8 currently does not support

    16. Re: Why not... by Anonymous Coward · · Score: 0

      Bing tells me it's the greatest thing since sliced bread!

    17. Re:Why not... by Anonymous Coward · · Score: 1

      Because when V8 does it, it will be called progress and be hailed as innovative.

    18. Re:Why not... by roman_mir · · Score: 0

      Who came up with that name? Every time I see ChakraCore I immediately read it as Cracka Whore.

    19. Re: Why not... by Anonymous Coward · · Score: 0

      so you are irrationally advocating for the engines to stagnate because your fear of another open source engine somehow locking out the other engine from implementing competetive changes?

    20. Re:Why not... by Anonymous Coward · · Score: 0

      Such arguments, in their accuracy and exhaustiveness, are irrefutable. Since this particular AC says so, from now it has become a fact that Edge is a lot faster than Chrome etc. No further discussion is necessary.

    21. Re:Why not... by Anonymous Coward · · Score: 0

      they can integrate it in Node.js

      And for a long time I thought node.js is a Javascript framework, not an application server. The times, they are changing.

    22. Re:Why not... by Anonymous Coward · · Score: 1

      I believe it has a more complete ES6 implementation as well.

    23. Re:Why not... by LifesABeach · · Score: 1

      It's not what Microsoft does that's the problem, it's what it doesn't do that is.

    24. Re:Why not... by Anonymous Coward · · Score: 0, Flamebait

      If every single person works to find a source for the original claims, there will be a lot of different interpretations and no way to discuss it. Not really a good option.

      Dude, this is the Internet. I could go MAKE some "sources" for that guy on my lunch break.
      You're not going to like his sources anyway. They'll conflict with what you want to believe, so you'll go find your own sources and interpretations. Then there will be a big debate over who's blog post is more right.

      You're better off just directly claiming the opposite while throwing in some populist quip. Then whoever put on the better spectacle will get lots of mod points from their believers. Quick and easy.

      "V8 performs much better in my experience as a computer Doctor, as it should, being a truly open source JS engine. You can't trust Microsoft these days any more than in the past blah blah blah Linux blah emo bs"

    25. Re:Why not... by LifesABeach · · Score: 1

      Somebody modded you insightful? Well, lets see the benchmarks that Microsoft has. But don't worry, everyone with an once of common sense will understand if Microsoft doesn't "come out."; and while we're on the subject, lets throw Apple in there also.

    26. Re:Why not... by LifesABeach · · Score: 0

      What every other H1B visa holder gets paid for.

    27. Re:Why not... by LifesABeach · · Score: 1

      "The main issue is this language compatibility," my ass. When Microsoft shows up, no good comes of it, unless you're Microsoft; a review of the public record on lawsuits is ample evidence.

    28. Re:Why not... by BarbaraHudson · · Score: 1

      main issue is binary modules...

      main issue is wtf are we putting javascript into more and more things connected to the Internet for? We already have tons of examples of "what could go wrong."

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    29. Re:Why not... by oh_my_080980980 · · Score: 1

      You're an idiot. Remember JavaScript. Microsoft did fuck all to JavaScript by supporting proper JavaScript and introducing it's own version such that developers had to check to make sure the code they wrote worked and even write separate code for Microsoft browers and everyone else.

    30. Re:Why not... by dave420 · · Score: 2

      It was probably created by an adult.

    31. Re:Why not... by KingMotley · · Score: 1

      Not done by Microsoft, but here is a benchmark that was done in July between IE, Edge, Chrome, and Firefox by Anandtech:

      Benchmark IE 11 Edge 20 Chrome 43 Firefox 39
      Sunspider 149.7ms 133.4ms 247.5ms 234.6ms
      Octane 2.0 9861 22278 19407 19012

      These are the relevant tests that stress the javascript engines. I've omitted the ones that test chrome's proprietary HTML extensions, or graphic rendering. There are plenty of other benchmarks testing the entire browser for page load times, and Edge does even better in those tests. Edge may not have the most features, or rolled in the experimental HTML5 stuff, but it is very very fast.

    32. Re:Why not... by KingMotley · · Score: 1

      I think the review of public record on lawsuits against google would be a much larger pile about now.

    33. Re:Why not... by tigersha · · Score: 1

      All the browsers did and still do this. If all browsers strictly used the WWW standards all our website would still look like geocities pages ca 1995.
      It is called innovation.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    34. Re: Why not... by Anonymous Coward · · Score: 0

      This++++

      I'm no language creator, but can we not do better? Think of the children for Christ sakes. Our kids are going to get handed this stuff and think WTF. Quickly followed by a snapchat3.0 :P

    35. Re: Why not... by Anonymous Coward · · Score: 0

      Boxy brown says yousa cracka now master shake, slave to the white man.

    36. Re:Why not... by Anonymous Coward · · Score: 0

      The main issue is not language compat - it's compile module compat.

      I've been using jxcore for a project - it's a reimplementation of node that runs on whatever js engine, including spidermonkey, v8 and chakracore. It's great because it runs on many more platforms that traditional node.js, with less setup cost.
      But the big problems, that would affect any reimpl of node too, is that compiled modules don't work, because spidermonkey does not implement the v8 api. And that cuts off a lot of useful modules from npm, and undermines the value of node.js

    37. Re:Why not... by Anonymous Coward · · Score: 0

      and i see Chaka Khan...

      age does things... ;)

    38. Re:Why not... by unencode200x · · Score: 1

      Note that one of the purposes of these benchmarks was to test the 64-bit version of Firefox vs. the dominant browsers.

      --

      Chance favors the prepared mind.
      Perfect is the enemy of good.
    39. Re: Why not... by Anonymous Coward · · Score: 0

      JavaScript = presentation layer accessible to the largest market-share. The syntax/style of the language is irrelevant. All that matters is you can use Javascript to communicate with iPhone, Android, Windows Phone, *nux, Mac, and Windows users all without any refactoring. Now that you can compile other languages in to JavaScript: it's becoming the universal babelfish to liberate us all from this poly-language anarcho-dystopia we've stumbled ourselves in to.

    40. Re: Why not... by Billly+Gates · · Score: 1

      So IE 6 is innovation then? Why does Google get a free pass?

    41. Re:Why not... by KGIII · · Score: 1

      I know it's not JavaScript but, damn it, I'm waiting for a resurgence in Java applets in the browser. I shit you not, I seriously expect to see this happen in the not-to-distant-future. Why? Someone will think it's a grand idea, all over again.

      --
      "So long and thanks for all the fish."
    42. Re:Why not... by Anonymous Coward · · Score: 0

      1. A benchmark of WebGL and not the JavaScript engines

      It's a benchmark of real world application use which includes JavaScript. Some browsers are faster than others.

      2. A benchmark of asm.js which is a Firefox thing

      Your point 1 claimed it wasn't a JavaScript benchmark, but point 2 says it is. Odd. 3 of the 4 major browsers vendors (Mozilla, Microsoft, Google) implement asm.js support. Mozilla just happens to be better at it than the rest. Reality doesn't conform to your preconceived notions, that's all.

    43. Re:Why not... by BarbaraHudson · · Score: 1

      Better to just have Java applications on the desktop, etc. At least get rid of the web browser portion and the risks of XSS, etc. HTML was supposed to be for rendering and cross-linking texts, not an "application platform."

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    44. Re: Why not... by Anonymous Coward · · Score: 0

      ActiveJs.net 5.1, here we come.

  4. Embrace and Extend by mr.dreadful · · Score: 4, Insightful

    Why would this be beneficial to anyone but microsoft?

    1. Re:Embrace and Extend by Z00L00K · · Score: 1

      That is a good question.

      Another interesting question is the risk of bugs in that engine that might infect other applications as well. If the same engine is used in multiple platforms this may mean that malware may be more successful than expected.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    2. Re:Embrace and Extend by Anonymous Coward · · Score: 1, Insightful

      Yeah, choices are silly.

    3. Re:Embrace and Extend by Dog-Cow · · Score: 1

      An actually interesting question is who allowed you on the Internet? Your question makes absolutely no sense at all, considering that V8 is currently multi-platform and backs every Node.js implementation in existence (outside labs).

    4. Re:Embrace and Extend by sosume · · Score: 1

      Why would this be harmful to anyone but Google?

    5. Re:Embrace and extend by Z00L00K · · Score: 1

      It's not very different from the Nigerian Prince mail scams we see now and then. It's a bait that can be used to reel in Node.js under the cover of Microsoft.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    6. Re: Embrace and Extend by Anonymous Coward · · Score: 0

      Not sure yet. But I fear the Greeks, even when they bring us gifts.

    7. Re:Embrace and extend by Anonymous Coward · · Score: 0

      Christ on a cracker, this is ridiculous. This is not the same MS as 20 years ago. Get over it.

    8. Re:Embrace and extend by Anonymous Coward · · Score: 0

      So will google. . Why can't I as a developer have a choice?

      Why do you, as a blowhard who has never written code, feel you need to meddle in my industry?

    9. Re:Embrace and extend by tigersha · · Score: 1

      gcc has things that are not standard C++, Linux has API calls not in Windows, Firefox, Chrome, Opera all have things that IE and the other browsers can't do.

      It is called "innovation"

      Javascript is horrifying enough as it is, it could use some of that "innovation" thing.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    10. Re: Embrace and Extend by Anonymous Coward · · Score: 0

      Exceptttttttt for microsofts. Funny how that works right.

    11. Re: Embrace and extend by Anonymous Coward · · Score: 0

      I keep seeing Microsoft shills say this, but it
      Won't be true until they prove themselves a whole lot more. No, doing a bunch of opensource work here and there won't help. The people saying this is a new MS are all under 20 I suspect. They did not witness or live thru the pain that Microsoft caused. They just read about it in a textbook and heard a teacher talk about it.

      I'll give them a pass if another 20 years pass and they are still on this course. Right now? Not so much.

    12. Re:Embrace and Extend by thebjorn · · Score: 1

      Because ChakraCore is faster and more standards compliant than V8 (not to mention the version of v8 that node is using).

    13. Re: Embrace and extend by Anonymous Coward · · Score: 0

      Totally agree, you should have lived the times where 2 Windows (98) crashes per day were the norm and you couldn't use the banking website from Linux because the Java applet they used was compiled with MS Java instead of Sun Java. The list is endless.

      Even today, numerous issues arise because MS keeps forcing Windows 10 on people even when you tried to disable it by blocking the update. All because it gives them an advantage (lock-in) regarding their cloud business.

      The only thing new about MS is that they can't ignore the OS (Linux) anymore they called a cancer once.

    14. Re:Embrace and extend by Anonymous Coward · · Score: 0

      MS coming up with it's own node.js fork could be called an "innovation".
      Current MS suggestion allows for what is not called "innovation" but "Embracing, extending and extinguishing" .

  5. But why? by Bert64 · · Score: 0

    V8 is already cross platform and open source, what is the need to have alternative engines?
    And if support for multiple engines is the goal, what about firefox or the safari javascript engine?

    Seems to me like it would be a more worthwhile use of resources to improve V8 rather than integrating support for multiple different engines and the headaches that will come from doing so.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    1. Re:But why? by Pseudonym · · Score: 5, Insightful

      V8 is already cross platform and open source, what is the need to have alternative engines?

      We've been here before. What's the point of Linux when we already have 386BSD?

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    2. Re:But why? by Anonymous Coward · · Score: 0

      I see a lot of value in two engines, potentially. Let's assume that ChakraCore isn't a total piece of junk.

      It's not necessarily true that they have to make a choice between integrating ChakraCore and improving V8. It's also not necessarily true that different engines will cause problems. If they have different performance profiles but everything else is the same there is value in being able to go with the faster engine for your needs. The number of situations ChakraCore out performs V8 dictates some of the value of having choice, but another component to the value is the amount of lift V8 gets from taking ideas from ChakraCore and being driven to do better because of the competition. Putting the ChakraCore resources on V8 likely won't help as much because of the many realities of software development. Software production doesn't scale very well with more resources on the same set of code. Decisions are harder to reach the more people you have involved, and there is more overhead of keeping track of what's going on across a project when you have more stuff happening.

      Having two different teams working through two different ideas - though they will duplicate a lot of work - allows different ideas to be explored more deeply. When you choose wrong, another team has another way of doing things that you can learn from. In addition, the different engines could focus on solving different problems or focus on separate paradigms and ways of thinking about problems.

    3. Re:But why? by Dog-Cow · · Score: 2

      Then you expend those resources. MS is submitting a PR, which means they did the work. If you want them to use V8 and not their own code, convince them.

    4. Re:But why? by Dracos · · Score: 3, Insightful

      Improving V8 would be more worthwhile to anyone who doesn't have a crippling case of not-invented-here syndrome.

      And I don't get the IoT angle here... no hobbyists care about W10IoT, the Microsoft JS engine doesn't make the bait any better. Linux on RaspberryPi is a full fledged OS, not a glorified app bootloader.

    5. Re:But why? by Anonymous Coward · · Score: 0

      V8 is already cross platform and open source, what is the need to have alternative engines?

      We've been here before. What's the point of Linux when we already have 386BSD?

      Linux ran on 64bit Alpha machines in 1993.

    6. Re:But why? by Anonymous Coward · · Score: 0

      no hobbyists care about W10IoT

      I'm not so sure about that. The usual MSFT fanboys have already been trying to tell me how much faster the web browser in W10IoT is on a Raspberry Pi, compared to Chrome and Firefox on Linux.

      Of course that would be about as trustworthy as when they told us how much better the Windows 8 GUI is compared to Windows 7.

    7. Re:But why? by h33t+l4x0r · · Score: 2

      Improving V8 is not on the Node.js agenga. And how is having options a bad thing? Put down the MS hate for a minute and try to form a rational opinion.

    8. Re:But why? by Anonymous Coward · · Score: 0

      Linux sucked in 1993.

    9. Re:But why? by ChunderDownunder · · Score: 1

      Options are great! I have about half a dozen different JavaScript runtimes on this Linux box alone - V8 for Chrome, several different versions of JavaScript Core bound to webkit embedded in Qt and GTK+ plus SpiderMonkey for iceweasel. So I'm hardly going to drown with one more...

      Does the world *need* yet another open source runtime? Well possibly not but if Microsoft are prepared to spend time and money in liberating Node from v8-isms then good luck to them. c.f. Python and Ruby have benefited in terms of multiple runtimes to the extent of portability. The bigger picture may be implementation-independent bindings to not just Node but other use cases above.

      And before someone plays the "'brace, 'tend and 'tinguish" card, I'd give Nadella the benefit of the doubt before comparing his era to the dark days of Gates and Balmer.

    10. Re:But why? by Z00L00K · · Score: 4, Insightful

      I think that Microsoft needs to get their engine spread more than what Node.js needs the Microsoft engine.

      However I also see a danger here - if Microsoft gets their engine as default into Node.js then they can change the licensing terms and effectively block Node.js from being viable. This has happened before, and will happen again. It smells like bait.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    11. Re:But why? by Anonymous Coward · · Score: 0

      As a node developer who often runs frontend tests under node, I would *love* to have the Edge JS engine running under node. That kind of thing makes it so much easier to track down problems.

    12. Re:But why? by Anonymous Coward · · Score: 0

      You sure do love to stick things in your anus

    13. Re: But why? by Anonymous Coward · · Score: 2, Insightful

      As node.js is FOSS, Microsoft is actually being very polite about this. They could've just forked the source code and made their own compatible release. As it stands, I hope the folks at node.js take heart that MS didn't just pull a dick move on them. One of the few times when MS is actually playing fair and even

    14. Re:But why? by jabuzz · · Score: 1

      Because at the time BSD/386 was still the subject of litigation so it was entirely possible that 386BSD might also disappear if the USL v. BSDi law suite had gone the way of USL.

      Further while the case was settled in 1993, the terms of the settlement did not become public till 2004, so the potential for further litigation was seen to be a potential possibility as the terms of the settlement where not know.

      This produced a window of opportunity for Linux to gain critical mass.

    15. Re: But why? by Anonymous Coward · · Score: 0

      As node.js is FOSS, Microsoft is actually being very polite about this. They could've just forked the source code and made their own compatible release. As it stands, I hope the folks at node.js take heart that MS didn't just pull a dick move on them. One of the few times when MS is actually playing fair and even

      Let Microsoft fork node.js and add their chakra to it. That way at least we do not have to touch chakra and can use pure node.js instead of the tainted code from Washington State.

    16. Re:But why? by Anonymous Coward · · Score: 0

      What's the point of Linux when we already have 386BSD?

      Exactly. 386BSD didn't simultaneously support Linux and its own kernel. So why should node.js integrate both V8 and ChakraCore?

    17. Re:But why? by Anonymous Coward · · Score: 1

      Yes, it does smell like bait. If Microsoft wants Node.js + Chakra then Microsoft should just fork Node.js and add Chakra. That way MS gets expend the labour ($) to maintain their own JavaScript environment (and not someone else).

    18. Re:But why? by oh_my_080980980 · · Score: 1

      Yeah ass-wipe and it's called JavaScript. Microsoft didn't support the JavaScript standard and there in created all kinds of problems. Fuck Microsoft. They don't adhere to standards.

    19. Re:But why? by Anonymous Coward · · Score: 0

      "What's the point of Linux when we already have 386BSD?"

      Linux users, open source on the whole, don't build stuff because they want to compete with others, but they what better tools, they like tinkering. The product itself IS the goal and not the means to a profit.

    20. Re:But why? by sumdumass · · Score: 1

      The only bait i see here is having lines of products that require Windows to remotely administer or take advantage of all the bells and whistles.

      I doubt it is about gaining control of node.js. Think along the lines of activeX plugins and such. A company uses node.js in their lights controller and MS makes a snazzy app for the Windows phone and tablets that use extensions they built into chakra.

      I bet that's what it is about. That or they see the momentum and do not want third-party browsers to be required on all Windows devices just to have the best experience.

    21. Re:But why? by Z00L00K · · Score: 1

      I think it's about getting control of node.js in order to take it off the market. Not to take control of how it's used on the market.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    22. Re: But why? by Anonymous Coward · · Score: 0

      What do you mean by "we"? Because I am pretty sure from your post you are not a developer, or any sort of industry professional.

    23. Re:But why? by tigersha · · Score: 1

      Language and compiler design is a tricky, difficult problem and innovation is a good idea. Microsoft has a world-class language/compiler group.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    24. Re:But why? by tigersha · · Score: 1

      Window sucked very much in 1993. I used Linux then. It was waaaaay better.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    25. Re:But why? by tigersha · · Score: 1

      The Windows 8 GUI is much better than the one on 7, and I am a Mac user before you accuse me of being a Windows fanboy.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    26. Re:But why? by tigersha · · Score: 1

      Finally, a professional engineer who has a reasonable opinion as opposed to the MS hating bunch here. I would also love to use Chakra under node, would be interesting to see. Microsoft's C compiler, for one, runs rings around gcc.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    27. Re: But why? by Anonymous Coward · · Score: 0

      Nice way to jump to conclusions.

      What do YOU mean we? You are not a human being. I can tell from your post. Silly bot trolls don't write code, they use it.

    28. Re: But why? by Anonymous Coward · · Score: 0

      That must be why they quickly released a half assed 8.1, then quickly started writing Windows 10 and promoting it. Let's not forget the free upgrade to 10 for all 7/8/8.1 users.

      Nahhh you are 100% correct that 8/8.1 interface was such a fresh of breast air, err I mean breath of fresh air :P

    29. Re:But why? by thebjorn · · Score: 1

      It seriously wasn't. Linux was horribly difficult to work with, and get work done with, in 1993. Windows 3.1x was also horrid in 1993, and most people ran some version of DOS with memory extenders and various TSR programs (like Norton SideKick)

      In 1993 I owned a NeXTstation, and that was indeed a a lot better :-)

    30. Re:But why? by thebjorn · · Score: 1

      You do realize that ChakraCore is more standards compliant than the V8 that node uses, right..? From https://kangax.github.io/compa... es2015 features supported: spidermonkey=73%, v8=60%, ChakraCore=79%, Node 5=54%.

    31. Re: But why? by CrashNBrn · · Score: 1
      Microsoft haven't forked Node.js, although they have been submitting to it's module library: Visual Studio Code, Updates

      Improvements for non US standard keyboard layouts
      VS Code dispatches key bindings based on [keyboard codes](https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85). In keybindings.json and in all the UI, we used to render the key codes with the produced characters under the US standard keyboard layout. We received feedback that this was very confusing, therefore, we created a new Node.js module native-keymap that is used in VS Code to render the key bindings using the system's current keyboard layout.

  6. Mafia by Anonymous Coward · · Score: 0, Insightful

    "Nothing wrong with competition."

    HAHAHAHAHHAHAHA

    One Microsoft Way is, IMO, more of a mafia than a corportation.

    So fuck their browser(s) and all of their shit.

    1. Re:Mafia by bluescrn · · Score: 4, Insightful

      Isn't Google the scarier massive corporation these days?

      There's more choice of OS than ever (if you consider mobile, too) - but Google have a lot of power over huge aspects of the Internet that Microsoft has very little influence over

    2. Re:Mafia by Anonymous Coward · · Score: 0

      Isn't Google the scarier massive corporation these days?

      I don't recall reading about any PC's getting forcefully "upgraded" to Android recently.

    3. Re: Mafia by PixetaledPikachu · · Score: 0

      I do remember Google forcing secure boot to hardware manufacturer so I can't install my choice of OS to a hardware that I own

    4. Re: Mafia by Anonymous Coward · · Score: 0

      Microsoft never did that. It's 2016 and we still have UEFI trolls. *sigh*

    5. Re: Mafia by Anonymous Coward · · Score: 0

      A week ago my phone rebooted seemingly randomly. When it came up again I had the latest version of market and chrome.

      I have auto updates turned off.

    6. Re: Mafia by Anonymous Coward · · Score: 0

      I do remember Google forcing secure boot to hardware manufacturer so I can't install my choice of OS to a hardware that I own

      I remember that as well, luckily you can disable the option in some versions. Otherwise you need to find a workaround to disable the bootloader, but that doesn't work with all hardware manufacturers.

      http://forum.xda-developers.com/showthread.php?t=2387392

      http://forum.xda-developers.com/wiki/Bootloader#Locked.2Funlocked_bootloaders

      http://www.androidpolice.com/2011/05/27/so-you-want-to-know-about-bootloaders-encryption-signing-and-locking-let-me-explain/

      Oh wait, you were trying to make a joke.

    7. Re: Mafia by vel-ex-tech · · Score: 0

      That's amazing! Were you smoking cannabis flower or was it something more like psilocybin mushroom?

      (iow, perhaps it was your carrier and not Google. Not that I don't hate Google's intrusiveness, but Microsoft is part of the reason I am now considered an enemy to women who wants to control their bodies. Microsoft and their proprietary bullshit paradigm can freeze in Cocytus! Traitors! Wait, that would imply they ever had an allegiance to me. Oh well, feminism says they did so it must be true.)

    8. Re:Mafia by Anonymous Coward · · Score: 0

      > Isn't Google the scarier massive corporation these days?

      No. They are both equally scary. Each one in its very special way -- both stink, but the stench is quite distinguishable.

    9. Re: Mafia by Anonymous Coward · · Score: 0

      You should be appreciated for it!
      As you are under the great disinterested google‘s protect;
      now you are away form bugs in old apps.

      that was what google's defender would always told you.

      I'm tired of it, so I just uninstall all google's apps.wiped them out.

      yes, I use no "market",since all i need is a browser as the "smart" part of my phone.

      so , I miss the firefox OS and the old mozilla.....

    10. Re: Mafia by Anonymous Coward · · Score: 0

      It's inverse on Android, where there's no upgrade possible for devices not that old and support non-existent.

  7. IT'S A TRAP! by Anonymous Coward · · Score: 0

    No, seriously. Nokia accepted a patch (nicknamed Elop), and see for yourself where they are these days.

  8. The next question is - why? by DrXym · · Score: 1
    Is ChakraCore measurably faster? Is it more portable? Is it more adherent to standards?

    Perhaps it is or perhaps it isn't. If it's only marginally better, or not better at all, then why would Node.js want the maintenance headache of two backends with no meaningful differentiation?

    1. Re:The next question is - why? by Anonymous Coward · · Score: 0

      The answer to that question is in the synopsis. Try reading it sometime.

  9. V8 doesn't support Windows? by Black.Shuck · · Score: 1

    The main reason to add ChakraCore support in Node.js will help the IoT version of Windows 10 to run JS apps on IoT devices

    V8 doesn't support Windows?

    1. Re:V8 doesn't support Windows? by DrXym · · Score: 3, Insightful
      Yes but maybe it doesn't compile under UWP which is Microsoft's universal API across IoT, mobile, desktop. UWP only supports of a subset Win32 so code that compiles to Win32 may not compile to UWP without lots of patching.

      I've been lead on this merry dance of bullshit before with Windows Embedded where the toolchain only supports a subset of Win32, a subset of STL classes and C headers and suddenly code that used to be portable no longer is.

      I wouldn't see that as an excuse to replace the entire backend though. Microsoft should supply patches to fix V8.

    2. Re:V8 doesn't support Windows? by ChunderDownunder · · Score: 1

      Possibly not, for the specified architecture. Windows 10 IoT targets the raspberry pi 2.

      Google Chrome on Windows is amd64 and i386 only.

    3. Re: V8 doesn't support Windows? by lisaparratt · · Score: 1

      Presumably chakracore will already be there, whereas V8 won't. Size is important in IoT.

    4. Re: V8 doesn't support Windows? by DrXym · · Score: 2
      I haven't used Windows 10 IoT but previous Windows Embedded versions had a thing called platform builder where you got to pick and choose what components you wanted and then you built it. e.g. if you didn't need IE, you didn't choose it. So I wouldn't be so sure that a standalone JS engine is already there.

      More likely V8 drags in a bunch of open source libs and tools like gyp and porting them to work on UWP is a bother. But its a problem of Microsoft's own making and I don't see that sidestepping the issue by kludging in another engine is to Node.js's benefit so much as it is Microsoft's.

    5. Re: V8 doesn't support Windows? by StonyUK · · Score: 1

      Presumably chakracore will already be there, whereas V8 won't. Size is important in IoT.

      The engine used by node is embedded inside node, so currently it has an embedded version of v8 and if you were to install a chakra based version of node, it will have it's own copy of ChakraCore embedded in it.

  10. Argh, matey by wonkey_monkey · · Score: 5, Funny

    the Node.js Foundation's Board o Directors

    Yargh, and it be a fine board too.

    --
    systemd is Roko's Basilisk.
    1. Re:Argh, matey by Anonymous Coward · · Score: 0

      What I be wantin' to know, is, can the board be a plank? If the board be a plank, then this captain's aboard!

  11. don't support engines, OS's and devices by Anonymous Coward · · Score: 5, Insightful

    support standards instead.

    1. Re:don't support engines, OS's and devices by MobyDisk · · Score: 1

      There is no standard Javascript engine implementation, and no standard for linking to JavaScript engines. So that isn't really an option here. I suppose someone could create a standard interface for linking to JavaScript engines, and make node.js support that. Then someone would have to either update V8 and ChakraCore to support that, or make an adapter.

      Hmm... now that you fooled me into proposing a way to make it possible to do as you suggest, I actually like that approach

  12. Embrace and extend by Anonymous Coward · · Score: 1

    Microsoft will quickly add non standard extensions to their engine and suddenly you'll have node.js applications which will only work if engine == ChakraCore.
    That's how Microsoft plays. This is not a "good competition", the only winner is MS.

    They're pretending to be very nice those days, like a bully that's been ousted from the playground. Because they've been ousted from the playground.
    But it's OK, we have new friends now and we don't need you any more Microsoft.

    Now, let the MS PR guys down vote my comment into oblivion.

  13. Re:How nave? by Anonymous Coward · · Score: 0

    What so you can have the dark corner to yourself to catholic little boys?

  14. SpiderMonkey, ChakraCore, JavaScriptCore, Duktape by SirJorgelOfBorgel · · Score: 4, Informative

    I know a bunch of you think V8 is cross-platform enough, but really it isn't. It uses way too much memory for many platforms, there's no non-JIT mode (so can't run on iOS), oh and it is a female dog to compile.

    Node.js' use cases are not limited to running a Node.js server. Embedding the core inside a bigger application and using it for some types of cross-platform logic, scripting, etc is a real thing. Maximizing compatibility is a must in that case.

    Aside from just having options, various engines offer different features you may want to use, and better compatibility with your target platform.

    JXCore has done a great job extending Node.js to support mobile, and they support SpiderMonkey and ChakraCore alongside V8. Compatibility wise they're king of the hill already, though they could still add JavaScriptCore and maybe even Duktape for good measure.

  15. Fool me once, shame on you... by Anonymous Coward · · Score: 0, Interesting

    Because this is Microsoft. You can claim that it's the new underdog Microsoft. You can claim that they have an engineer-CEO. But the culture is the same as it ever was. I know this intimately.

    This is a company who repeatedly have themselves back door advantages in visual studio. This is a company that intentionally de-expedited core functions in development frameworks intended for third party developers. This is a company who built IE to favor Microsoft's own products *even at the cost of extreme security issues*.

    If you think that there has been some fundamental shift in culture, you are seriously mistaken. I want nothing to do with their code.

    They trashed their own reputation long ago.

  16. Resistance is futile .. by tetraverse · · Score: 1

    "We are the Borg. Lower your shields and surrender your ships. We will add your biological and technological distinctiveness to our own. Your culture will adapt to service us. Resistance is futile."

  17. Is it released GPL3? by Anonymous Coward · · Score: 0

    Or with a BSD like clause PLUS the explicit grant of any and all license to current and future patents that the code donated will operate under for uses compatible with the BSD terms (IOW any damn use whatsoever, within the whole or extracted to any other sphere of computation)?

    Because if not, then including MS's core would be a fatal mistake if ever there were things such as software patents... hang on,there are software patents.

    If the code has to be changed to include compatibility then it will take on some of the mechanisms that Edge can claim patent on either now or in the future, and thereby lock out all the code for patent damages and even refuse to allow the code to work until it is entirely reworked to run again without it. Upon which, MS may then insist that this is anticompetitive and incur more costs to node.js.

    1. Re:Is it released GPL3? by mark-t · · Score: 1

      Chakracore uses the standard MIT license, afaik.

  18. Re:Bordeaux Directors by Anonymous Coward · · Score: 0

    Everywhere: Brothel of Directors.

  19. What a mess by Anonymous Coward · · Score: 0

    I spilled V8 on my laptop, unfortunately the vodka fried the motherboard.

  20. Re:SpiderMonkey, ChakraCore, JavaScriptCore, Dukta by tigersha · · Score: 1

    Exactly. Language platforms are not just about the syntax and libraries. It is also about the implementation underneath. And there different implementations have different pros and cons.

    --
    The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
  21. Re:SpiderMonkey, ChakraCore, JavaScriptCore, Dukta by Anonymous Coward · · Score: 0

    Aside from just having options, various engines offer different features you may want to use

    That's a downside. When I use node.js I want 100% of node.js available. The old non standard web has taught us nothing.

  22. I actually kind of like Chakra's design by mark-t · · Score: 1

    In embedded v8, it is a headache and a half to create custom types that vitally need to perform some task such as releasing used memory held by a native implementation upon cleanup. In v8, if you simply want to have some cleanup code get called, you have to allocate a Persistent along with your data, explicitly invoke SetWeak on that Persistent to specify the finalize callback, and then make sure that you keep the allocated persistent around for the lifetime of your custom object (which means that your finalize callback needs to release the memory allocated for the persistent itself in addition to releasing memory used by your custom type). In Chakracore, it appears that you can pass a finalize method directly to JsCreateExternalObject when you create the javascript value... no messing around with the extra storage that v8 needs for persistent types that are not allocated on the stack.

    Also, the ChakraCore API also has an advantage of having a smaller and much simpler C API than v8's C++-only API.

    Additionally, I have to say that Microsoft's documentation of Chakra's javascript runtime kicks ass over Google's documentation of v8's.

    I haven't had a chance to play with Chakra yet myself, having only perused the API docs so far, and the projects that I'm working on that use embedded v8 are far too v8-entrenched to migrate them to using another javascript engine, but I will strongly consider using it in any future new projects.

  23. No, No, No!!!!! by Johnny+Loves+Linux · · Score: 1

    This request is pointless. It's clear how it's advantageous to Microsoft to have their engine used instead of Google's.

    But it has NO advantageous to either the node.js project OR the people who make use of node.js. Please don't even consider it.

  24. Re:SpiderMonkey, ChakraCore, JavaScriptCore, Dukta by MobyDisk · · Score: 1

    Node.js' use cases are not limited to running a Node.js server. Embedding the core inside a bigger application

    Ding ding ding!!!

    I am working on a project that needed an internal scripting engine. We first looked at nodeJS, but then realized exactly the limitation you point out: we can't "embed" node inside of an app. So I can't make in-process calls to/from JavaScript. There are various other wrappers that allow you to embed V8 into apps, and we went with one of those. But if Node supported that mode of operation, we would have used it. Most other scripting languages work this way: They are in-process libraries that let you call into and out of the language.

  25. Re:SpiderMonkey, ChakraCore, JavaScriptCore, Dukta by MobyDisk · · Score: 1

    When I use node.js I want 100% of node.js available

    It would be.

    The OP is referring to features of the JavaScript engine, not features of the node environment. Think of it as the difference between the compiler and the platform. I can write C++ code on Windows using gcc, msvc, or llvm. Each compiler offers different features. But either way, 100% of the Windows API is available. Using another platform as an example: I can write C++ code on Linux using gcc or llvm. Both offer different features. But both support 100% of the POSIX APIs.

  26. No. by Anonymous Coward · · Score: 0

    For the love of god and satan, just say no! But I'm sure Microsoft will pay their way in anyway.

  27. what by Anonymous Coward · · Score: 0

    abcdefghijklmnopqrstuvwxyz

    Global Mother Fucking Spyware?