Slashdot Mirror


Microsoft Brings ChakraCore to Linux and OS X (cio.com)

An anonymous reader quotes a columnist at CIO: A few days ago I wrote about Microsoft's revival of Skype for Linux. I called it "a big deal" -- less because of Skype itself and more because it signified Microsoft's recognition that Linux is a platform worth supporting... Now the company has done it again. At Node Summit this week, Microsoft announced the availability of ChakraCore for Linux. ChakraCore is the core part of the Chakra JavaScript engine that powers Microsoft Edge and Universal Windows Platform. With this move, Microsoft is putting one of its core technologies on a competing platform. This, more than any other Linux-friendly move the company has made, is a clear departure from the Microsoft of Gates and Ballmer that used its technologies to lock users into Windows...

While Ubuntu is the primary Linux distribution that Microsoft is using to showcase its ChakraCore technologies, the company said that the support should easily translate to other modern Linux distributions.

Microsoft's blog post says the experimental implementation runs not only on x64 Linux but also on OS X.

52 of 106 comments (clear)

  1. Re:Epic CEO: “Universal Windows Platform can by elfprince13 · · Score: 1

    Yeah, this looks like Microsoft is trying to get on the content store gravy train.

  2. Re:Support?? by houstonbofh · · Score: 1

    But come on? How much marketable data can you slurp from a Windows VM only opened to run office? They need a spy on the real desktop! And on Linux, they only thing people run a lot form them is Skype. What do you bet that it is looking at the process list?

  3. Microsoft not an OS company by phantomfive · · Score: 4, Insightful

    Microsoft sees themselves as less and less of an OS company, and more of a business services company, especially with the cloud. Windows is only a small portion of Microsoft revenue now, so they don't feel such a need to support it. It's possible that within the next decade, they may become to view it as a cost center, rather than a profit center.

    --
    "First they came for the slanderers and i said nothing."
    1. Re:Microsoft not an OS company by Kjella · · Score: 1

      Microsoft sees themselves as less and less of an OS company, and more of a business services company, especially with the cloud. Windows is only a small portion of Microsoft revenue now, so they don't feel such a need to support it. It's possible that within the next decade, they may become to view it as a cost center, rather than a profit center.

      And how much of their other products have any significant revenue on non-Windows platforms? I know they're trying with Office 365 and open sourcing .NET Core and SQL Server for Linux but once you leave the Microsoft platform you also tend to buy a lot less of their other products and services. Maybe it's not the big cash cow anymore but it's the foot in the door so Microsoft can push all their other business solutions. And you know they're dreaming of taking a 30% cut of every UWP application, which they can't do unless people use Windows. Maybe it wouldn't hurt their cash flow much directly but I'd say strategically Microsoft would be fools to give up on the OS, both on the business and consumer side.

      --
      Live today, because you never know what tomorrow brings
    2. Re:Microsoft not an OS company by exomondo · · Score: 1

      And how much of their other products have any significant revenue on non-Windows platforms?

      Not many, hence the move to support other platforms and start making that happen.

    3. Re: Microsoft not an OS company by hackwrench · · Score: 1

      Yeah, that's also a flaw in Hobbes's logic regarding governments and unfortunately a lot of people worship Hobbes.

    4. Re:Microsoft not an OS company by phantomfive · · Score: 1

      lol.
      A Tibetan monk once recommended: "when the leeches attach to your body, do not pull them off, let them fill with blood and fall off on their own. Doing so will purify your soul and help you endure pain."

      --
      "First they came for the slanderers and i said nothing."
    5. Re:Microsoft not an OS company by phantomfive · · Score: 1

      Of course you're right, but I can't figure out how what you said relates to the current context.

      --
      "First they came for the slanderers and i said nothing."
  4. Really interested in supporting Linux as platform? by lalleglad · · Score: 2

    Then I wonder, what about the Skype application?
    Why is it so hard to bring that one up to speed on Linux? I mean, if you really wanted to support Linux?

    An alternative could be the Line application?
          http://line.me/en/

    It is for now only supported on these mobile platforms, and then Windows and Mac: (unfortunately not on MeeGo or Ubuntu Touch, which I have)

    iPhone, Android, Windows Phone, BlackBerry, and Nokia

    If we could could get them to support wider, then Microsoft could possibly also be enticed to support wider, and more honest on Linux?!

  5. doesn't discriminate? by Anonymous Coward · · Score: 1

    "The current cross-plat implementation doesn’t yet support JIT compilation and concurrent and partial GC features"

    Which means it will be slow and useless.

    1. Re:doesn't discriminate? by binarylarry · · Score: 1

      Yep. And stupid people will use it and complain to Microsoft that it's slow and sucks on Linux and OSX.

      And they'll cry to me to save them.

      And I'll say no.

      --
      Mod me down, my New Earth Global Warmingist friends!
    2. Re:doesn't discriminate? by MightyMartian · · Score: 2

      Which is a good way to describe Edge.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    3. Re:doesn't discriminate? by tigersha · · Score: 1

      On Edge JS is slower than with V8 on Chrome. But the HTML Renderer is lightning fast.
      Slower it is, but useless, no.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    4. Re:doesn't discriminate? by MightyMartian · · Score: 1

      I find Edge barely usable, like some sort of alpha piece of software. I have no idea how fast its rendering is, nor do I care, because it is so utterly deficient and prone to errors that it's irrelevant.

      At my organization where we've just completed our Windows 10 rollout, there is not a single person who wanted to stick with Edge for more than a few days, and more than a few that were exasperated that the damned thing was the default PDF reader. i sure learned how to make a default applications XML file to stick in the GPO quickly.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
  6. ChakraCore is open source (MIT License) by Cyphase · · Score: 4, Interesting

    For those who don't know, ChakraCore is open source; the code is on GitHub, under the MIT license.

    https://github.com/Microsoft/ChakraCore

    --
    by Cyphase ( 907627 )
    1. Re:ChakraCore is open source (MIT License) by Torp · · Score: 5, Informative

      Unfortunately I still remember their patent threats; I don't think it's safe to go anywhere near Microsoft owned source, no matter the licensing.

      --
      I apologize for the lack of a signature.
    2. Re:ChakraCore is open source (MIT License) by DoofusOfDeath · · Score: 5, Insightful

      Unfortunately I still remember their patent threats; I don't think it's safe to go anywhere near Microsoft owned source, no matter the licensing.

      I agree, but I'm even more wary than that. Microsoft has a nearly perfect record of deceptiveness, sleaziness, and overall douchebaggery. Even if software patents didn't exist I would still suspect this is some kind of trap.

    3. Re:ChakraCore is open source (MIT License) by Torp · · Score: 1

      If you put it like that yeah, I would be afraid to be an US resident and write code :)

      --
      I apologize for the lack of a signature.
    4. Re:ChakraCore is open source (MIT License) by lsatenstein · · Score: 1

      Unfortunately I still remember their patent threats; I don't think it's safe to go anywhere near Microsoft owned source, no matter the licensing.

      I agree, but I'm even more wary than that. Microsoft has a nearly perfect record of deceptiveness, sleaziness, and overall douchebaggery. Even if software patents didn't exist I would still suspect this is some kind of trap.

      When do you think MS will release their own Linux version? They must certainly want to compete with Oracle, RedHat and Ubuntu.

      --
      Leslie Satenstein Montreal Quebec Canada
    5. Re:ChakraCore is open source (MIT License) by The-Ixian · · Score: 1

      I think that is no longer the "MS way"... as in, they see themselves more as a service company now.

      I think they realize that there are just too many ardent opponents who will never buy an MS product directly outside of the enterprise.

      So, instead, they will use other people's platforms and design services for those. Just look at how much MS software is on Android and iOS these days. Some of which you might not even realize is MS software (like Swift keyboard).

      Being an OS vendor is a tough business... you are on the hook for so much. It is much easier (and more profitable) to just use other people's OS as a delivery vehicle for your software.

      Anyway, to your point. I think that Ubuntu is fast becoming the MS distro.

      --
      My eyes reflect the stars and a smile lights up my face.
    6. Re:ChakraCore is open source (MIT License) by DeVilla · · Score: 1

      If it were under GPL3 it would be safe. There are probably a few other licenses with similar patent protection explicitly built in.

      Their patent pledges are useless. They have been written in the past such that they could sell the patents to a 3rd party who would be free to sue. They grant a non-revocable license or it does not count.

  7. Be Very Suspicous by ytene · · Score: 2, Interesting

    Before Microsoft got their hands on Skype, the service was configured to use a central server to determine if your desired counter-party was on line, then the two end-points went through a handshake and all remaining communications were point-to-point.

    After Microsoft got their hands on Skype, the initial call setup used a central server - and then the entire remainder of the conversation remains similarly routed through that central server, thereby allowing Microsoft to record the entire conversation.

    Skype doesn't generate revenue, which means that the initial purchase was a loss-leader. Microsoft weren't trying to bring their own competition to market. There is nothing in the technology that they needed or wanted for their own business strategy. In other words, it's worth being very sceptical of Skype.

    So why would they want to turn their attention back to the Linux client? Is it because the "bad guys" are using Linux and Microsoft want to remain in the middle of point-to-point conversations?

    I'm sure that Skype is a very handy piece of software when you want to keep in touch with relatives who are miles away, but there are just too many inexplicable decisions being taken with it... What's that old saying: when something looks too good to be true, it probably is.

  8. Haven't we seen this before? by Locutus · · Score: 3, Insightful

    It was a Microsoft program called WISE and licensed to Bristol, Insignia, MainSoft and Locus( https://goo.gl/nrk4ML ). It allowed these vendors to build libraries for UNIX which let Win32 sources be built on UNIX systems. Lots of UNIX app developers porting UNIX apps to Windows since they could sell their apps for both Windows and UNIX. Only one problem, Microsoft pulled the rug out from under them all( save one ) and left all those UNIX software vendors with no path for their UNIX customers but moving to Microsoft Windows. They more than quadrupled the WISE program cost and only one of the vendors could afford to pay it. The one vendor who could still pay the licensing fee was also the one vendor Microsoft hired to port Internet Explorer to Sun Solaris.

    So unless every single bit of this ChakraCore stuff is open source and under a BSD or MIT license(ie loose) then stay away, far far away. IMO

    LoB

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    1. Re:Haven't we seen this before? by Bite+The+Pillow · · Score: 1

      Took me two clicks to find the answer, ignoring the comment above yours. You do know how hyperlinks work, right? And reading?

    2. Re:Haven't we seen this before? by Anonymous Coward · · Score: 1

      So unless every single bit of this ChakraCore stuff is open source and under a BSD or MIT license(ie loose) then stay away, far far away.

      It is.

  9. Re:Still the old Microsoft by hairyfeet · · Score: 4, Insightful

    Yeah....its sadly a lot worse than under Ballmer, because you didn't see the Ballmernator packing their flagship with spyware that uses tactics taken straight from malware vendors like hardcoding IPs to get around HOSTS blocking.

    --
    ACs don't waste your time replying, your posts are never seen by me.
  10. the glaze-over gift by epine · · Score: 1

    Microsoft must have an entire division devoted to coming up with names that make me glaze over sooner than I can get to a defining sentence in any article in which the word occurs.

    List of Microsoft codenames

    Hmm, Windows for Workgroups 3.11 was originally codenamed "Snowball", which primarily involved the introduction of a 32-bit TCP/IP stack into a 16-bit OS.

    Satan: I've got good news and I've got bad news.

    Yourself: What's the good news?

    Satan: I'm going to give you a choice.

    Yourself: And what's the bad news?

    Satan: You can either be known as "Snowball" or "Mr Pink".

    Yourself: Wow, that's a relief. I was worried I'd get stuck with "Chakra" or something worse, if there even is anything worse.

    Satan: Even in Hell, some dishonours are held in reserve. Now hurry up, or I'll assign you one of each, plus swelling and leprosy.

    1. Re:the glaze-over gift by squiggleslash · · Score: 1

      Hi! Welcome to Pedant's Corner, the best kind of corner!

      WfW didn't come with a TCP/IP stack. The bundled networking applications ran over Microsoft's SMB stack. It wasn't until 1994, nearly a year after the release of WfW, that Microsoft released an optional TCP/IP stack for WfW.

      And unfortunately for your joke, the name of the stack was Wolverine...

      Sorry, not trying to ruin your joke, just trying to avoid some minor misconception about a product that hasn't been sold now for 20 years and nobody uses or is ever likely to come across from ruining the minds of the readers of this website...

      --
      You are not alone. This is not normal. None of this is normal.
  11. Re:Support?? by Anonymous Coward · · Score: 3, Insightful

    Maybe if MS contributed to something worthwhile like Wine instead of offering tokens like a sub-par JavaScript engine it would be viewed as a genuine gesture of goodwill.

  12. Re:Go Microsoft by MightyMartian · · Score: 2

    Have you actually used Edge? It and it's JS component are utter crap. Why would anyone want to run their JS variant?

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  13. Apple and Microsoft together again by holophrastic · · Score: 2

    Start the timer. Apple becomes a hardware-only company, running mostly microsoft software. One decade or two?

    1. Re:Apple and Microsoft together again by tlhIngan · · Score: 1

      Start the timer. Apple becomes a hardware-only company, running mostly microsoft software. One decade or two?

      Or minus half-decade. Ever since Apple went Intel and started supported running Windows (and indirectly, Linux), that has been true.

      And Apple has traditionally been a hardware company - their money is selling hardware.

      Less so these days as PC hardware designs have caught up to Apple, Apple has started to neglect their Mac line (though, apparently it's because Intel has been dropping the ball with the kind of parts Apple wants).

    2. Re:Apple and Microsoft together again by tigersha · · Score: 1

      Well, let's hope so, for if Apple decides to OSS MacOS/X then Unix on the Desktop might actually come true.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
  14. So their products suck and their OS is useless for by RightwingNutjob · · Score: 4, Interesting

    real work. But for some reason, I should want to use their libraries on a system that actually is already useful for real work?

    Really must be something in the water. Gnome3, Wayland, systemd, Trump, and Microsoft on Linux?

  15. Re:Go Microsoft by ChunderDownunder · · Score: 1

    I tried Edge and have stuck with Firefox.

    So, no, I don't have a compelling reason to install ChakraCore on my Linux box. However, half a dozen or so already reside there - anything that depends on node requires a JS engine, Gtk+ and Qt embed versions with their toolkits and openjdk has rhino and nashorn for Java EE.

    Does the world need yet another JS engine? Well probably not but there may be a use case.

  16. Its a trap by FudRucker · · Score: 2

    smells like a trojan_horse, after years of being belligerent towards Linux i can not trust microsoft to be honest, look at the mess windows 10 is when it comes to privacy and lack of being open to users,

    --
    Politics is Treachery, Religion is Brainwashing
  17. Re:Support?? by Hylandr · · Score: 1

    I can't imagine why I would use a windows javascript engine when the real deal is available already.

    Ubuntu is the slowest of the Linux distributions for servers, but lends itself well to the windows95 crowd of users with it's gadgetry and half-whistles to entertain the first waves of AOL style user migrations from windows.

    --
    ~ People that think they are better than anyone else for any reason are the cause of all the strife in the world.
  18. Re:Internet Exploder on a Linux near you? by exomondo · · Score: 1
    Well this story isn't about Internet Explorer, it's about Chakra core which is the Javascript Virtual Machine that is used in Edge.

    Soon all those Windows vulnerabilities will be available on Linux too.

    Not quite sure what you mean by that.

    Do they allow you to compile from source at least or is it a closed binary that needs root rights?

    The release is source, it's right here https://github.com/microsoft/ChakraCore licensed under MIT.

  19. Re:Really? by bluefoxlucid · · Score: 1

    Vulkan has some merits, or at least novelty; OpenGL and DirectX are actually in competition, and DirectX long had features allowing DirectX programmers to more-readily take advantage of not-always-present extensions while OpenGL historically would just fail and not tell you. OpenGL has long since improved on that front; minor technical arguments still bounce back and forth between the two technologies.

    Stuff like that is why I find graphics programmers weird.

  20. Re:Support?? by Richard_at_work · · Score: 1

    Why should Microsoft contribute to a project that doesnt further its goals? Mono furthered its goals, ChakraCore furthers its goals, Wine does not further its goals.

    Over here in the .Net world, Microsofts open source contributions are a lot more than "token", btw.

  21. Re:Really? by NotInHere · · Score: 1

    Vulkan is more a competitor to DirectX 12, and its better because it is probably more consistent due to throwing out all the legacy crap (read OpenGL).

  22. Re:Really? by bluefoxlucid · · Score: 1

    It's also more-complex than OpenGL, although DirectX 12 is more-complex than DirectX 10. Direct-manipulation of atoms is more-complex than current processor fab tech, too, and can give certain results modern fab tech can't. Assembly is more-complex than C#, and can allow tight, highly-optimized code that C# can't approach; C# can make large, complex programs.

    Maybe Vulkan will get some higher-level APIs, or run alongside OpenGL, or something. Who knows? An integrated solution allowing leverage of low-complexity and high-complexity operations in tandem would provide an optimal solution.

  23. Why do we care? by JohnFen · · Score: 1

    I'm seriously asking -- why should non-Windows OS developers care about whether or not ChakraCore is supported on non-Windows operating systems?

    1. Re:Why do we care? by Billly+Gates · · Score: 1

      Because V8 is having a monopoly.

      I think running node.js on Chakra will be a nice alternative even if you do not use it. Last thing we want is Google to rewrite standards ala old MS style.

    2. Re:Why do we care? by fluffynuts · · Score: 1

      Totally. Competition is the whetstone which sharpens these tools. Also, Chakra is aiming to run on more diverse platforms (think IoT, etc), so that's also good: encouraging V8 devs to step up their game.

      It's the same reason I used to cheer on Opera and why I'm rather sad they just threw in the towel. Who's going to set the ACID benchmarks now? Especially as FF loses ground?

      Competition is required for successful evolution (:

  24. Re:Still the old Microsoft by JohnFen · · Score: 1

    every indication is that the company today is a heck of a lot different than the one you're referencing.

    I have seen very little such indication at all -- they look pretty much the same to me.

  25. Re:Really? by NotInHere · · Score: 1

    Well yes Vulkan is more complex than OpenGL, but its not in the same relation to OpenGL as Assembly is to c#.

    True, there is SPIR, but there are already compilers for SPIR out there, and it has been a critique point of OpenGL for a long time that shaders couldn't be compiled, while they could be compiled by DirectX.

    Either way, the indie gaming industry seems to be moving towards engines like unity that then expose simple high level APIs. They will enjoy vulkan because it will allow unity and similar engine developers to make their engines faster and have more api functions. And AAA games will enjoy Vulkan even more because they can customize every tiniest part which they couldn't do with OpenGL.

  26. Re:Really? by bluefoxlucid · · Score: 1

    That's the specialist argument: someone further down the line gets to deal with this complicated stuff. It's a valid argument; and the specialists still need to improve their skillset when the complicated stuff becomes more-complicated, with the trade-off that they can engage in their specialty more-effectively.

  27. Re:Support?? by Richard_at_work · · Score: 1

    Thank you for repeating your "demand", but you again fail to explain *why* Microsoft should contribute to Wine - "because they should" is not an arguable reason. And Wine being "meaningful" is a matter of opinion - its not meaningful to Microsoft, so why should they contribute to it?

    ChakraCore furthers a lot of Microsofts goal - fully expect a UWP runtime for Linux in the near future, with stuff like Skype etc running the same code across all platforms. How is that not a goal that is being furthered?

    And your opinion of .Net pretty much shows that you cam be discounted entirely from any adult discussion on this topic. You are basically saying "no one uses or gives a shit about Linux. Apart from the millions of people that use and give a shit about Linux, but Im going to ignore that because it doesnt fit with my view."

  28. Not ready for prime-time (yet) by fluffynuts · · Score: 1

    Whilst I applaud the effort (and welcome alternatives), Chakra isn't quite ready for prime-time on other platforms yet -- more specifically, node-chakra. What it does, it does blazingly fast -- outpacing the v8 core on 6.3.1 -- but there are some specific use-cases which just end in fail, and a commonly-occurring message about buffers not being used in an expected manner.

    Next release maybe? V8 needs the competition and I'll gladly take whatever is tops out stability, then features, then speed. I'm not a brand-whore.

  29. Re:Support?? by exomondo · · Score: 1

    ChakraCore for Linux and OS X does not further any MS goal.

    Of course it does, what is the point of open source if not to engage the community and work together to develop a better project?

    It's just a token gesture to say "look at us, we love other OSes so we can't possibly have a monopoly".

    They dont have a monopoly anymore, back then Windows was pretty much the only option for the (Intel) PC but nowadays there are plenty of viable options out there for personal computing. Big box vendors ship Ubuntu systems, Macs use Intel processors now, Chromebooks are on shelves everywhere, Android and iOS tablets are readily available and much of peoples' personal computing is done on their smartphones.

    If they want to put their money where their mouth is, they'd contribute to something meaningful like Wine.

    Why would they do that? There is no benefit to that at all.

    Over there in .NET world, Microsoft's contributions only benefit a small subsection of Windows programs. Nobody else uses it or gives a shit about it.

    You could say exactly the same thing about everybody's contributions to desktop Linux systems too.

    I think you need to get away from your assumption that Microsoft doing this to somehow please you or show you that they value the same "meaningful" goals as you, which given their actions versus your suggestions it's pretty clear that they don't and aren't trying to.

  30. Re:Still the old Microsoft by wicka_wicka · · Score: 1

    *sigh*

    I don't know why I thought I could have this conversation on Slashdot, of all places...

    --
    hi