Slashdot Mirror


Microsoft To Open Source .NET and Take It Cross-Platform

An anonymous reader writes: Microsoft today announced plans to open source .NET, the company's software framework that primarily runs on Windows, and release it on GitHub. Furthermore, Microsoft also unveiled plans to take .NET cross-platform by targeting both Mac OS X and Linux. In the next release, Microsoft plans to open source the entire .NET server stack, from ASP.NET 5 down to the Common Language Runtime and Base Class Libraries. The company will let developers build .NET cloud applications on multiple platforms; it is promising future support of the .NET Core server runtime and framework for Mac and Linux. Microsoft is also making Visual Studio free for small teams.

71 of 525 comments (clear)

  1. Desparate Microsoft pulls a "Sun Microsystems" by iggymanz · · Score: 4, Funny

    Too little too late, Billy Bob Gates

    1. Re: Desparate Microsoft pulls a "Sun Microsystems" by bill_mcgonigle · · Score: 4, Funny

      They're taking it Mono a Mono.

      With nasty patent clauses, no doubt.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    2. Re:Desparate Microsoft pulls a "Sun Microsystems" by Anonymous Coward · · Score: 3, Insightful

      Billy Bob Gates

      It's good to know Slashdot's irrational hatred is still firmly entrenched in the '90s.

    3. Re:Desparate Microsoft pulls a "Sun Microsystems" by iggymanz · · Score: 2

      This is not about the desktop space alone, but rather an architectural one spanning all tiers of server to mobile (and Linux has massive share on those particular endpoints).

    4. Re:Desparate Microsoft pulls a "Sun Microsystems" by Anonymous Coward · · Score: 3, Insightful

      Billy Bob Gates

      It's good to know Slashdot's irrational hatred is still firmly entrenched in the '90s.

      Hah, it never ends.

      Because it's all on BOOOOSH!!!!

      LMAO...There was only Bush 1.0 in 1990-1992. And he did absolutely nothing with regard to computing and policy.

      If only the Microsoft hatred here at /. was irrational. Most of us that dislike Microsoft do so because we got tired of dealing with the constantly moving goal posts for competency, the ridiculous lock-ins to proprietary software stacks, and the even more ridiculous costs of everything they made. So, if by fact based dislike for an entire segment of the technology sector, then yes, that would be irrational.

    5. Re:Desparate Microsoft pulls a "Sun Microsystems" by tehcyder · · Score: 2, Insightful

      It's good to know Slashdot's irrational hatred is still firmly entrenched in the '90s.

      Irrational? In what way?

      Presumably because Bill Gates is no longer the CEO, so saying "yah boo sucks to Bill Gates" is about as meaningful as saying "Microsoft limits filenames to a ridiculous 8.3 format"

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    6. Re:Desparate Microsoft pulls a "Sun Microsystems" by Anonymous Coward · · Score: 4, Insightful

      Yeah, they're just quaking their boots for the 3% Apple market and 0.8% Linux share.

      Actually, yes, they are. The Mac OS X market is growing on the desktop and the Linux server market has been kicking ass for some time now. Microsoft is losing developers for Windows and they have recently gone through some pretty massive layoffs in the last five years, more than 23,000 employees. They are losing ground in the console wars with the Xbox One, and are struggling to keep their Nokia purchase from tanking. Add to that the abysmal Windows 8 reception and the Surface fiasco that is just starting to show some rays of hope for that device and you have a tech company on a significant downward slide. Also note how most of the older employees are cashing out and going on to other projects. Signs that the ship is going down!

      If they're not collectively quaking in their boots, they ought to be!

    7. Re:Desparate Microsoft pulls a "Sun Microsystems" by ArcadeMan · · Score: 4, Insightful

      AFAIK both Bill Gates and Steve Balmer don't control Microsoft anymore.

      This is a new Microsoft with a new CEO, so we should at least give them the benefit of the doubt.

    8. Re: Desparate Microsoft pulls a "Sun Microsystems" by ljw1004 · · Score: 5, Informative

      They're taking it Mono a Mono. With nasty patent clauses, no doubt.

      :) Microsoft's patent clauses are spelled out here https://github.com/dotnet/core...

      I guess these are the key paragraphs:

      Microsoft Corporation and its affiliates (“Microsoft”) promise not to assert any .NET Patents against you for making, using, selling, offering for sale, importing, or distributing Covered Code, as part of either a .NET Runtime or as part of any application designed to run on a .NET Runtime.

      If you file, maintain, or voluntarily participate in any claim in a lawsuit alleging direct or contributory patent infringement by any Covered Code, or inducement of patent infringement by any Covered Code, then your rights under this promise will automatically terminate.

      Disclaimer: I'm not a lawyer, but I am on Microsoft's VB/C# language team

    9. Re:Desparate Microsoft pulls a "Sun Microsystems" by xonen · · Score: 4, Informative

      You are twisting his words. Ballmer was not talking about Linux, but about the GPL and it's 'viral' nature.

      And to their defense, MS has released more open-source software and libraries in the past. Also they actually contribute to the Linux kernel.

      There's plenty left to dislike MS for without twisting the truth.

      --
      A glitch a day keeps the bugs away.
    10. Re:Desparate Microsoft pulls a "Sun Microsystems" by pooh666 · · Score: 2, Informative

      "What the fuck is Qt?", my boss says. He is right. Great news re .Net. Good luck to all of those unable to see the benifit of this. Our companies will eat your companies for peanuts, not because of .Net, but because your tech opinons are so clouded with emotion.

    11. Re:Desparate Microsoft pulls a "Sun Microsystems" by RavenLrD20k · · Score: 4, Interesting

      Don't think I'm defending Microsoft here because I am old enough to remember Microsoft at its worst and still have the deep seated hatred of Gates and Balmer era MS. Hell, anti-trust BS aside I still hate them for what they did to my MechWarrior franchise alone! However, under the new leadership that seems to be taking the company towards an era of Glasnost and Perestroika, the hatred is given pause as I wait for the next dick move that may never come. At the very least, Microsoft has moved into a position that is no more or less "evil" than Google (yes, do no evil no longer applies here) or Apple. Given this, I wonder how many people here truly rationally hate MS anymore as opposed to hatred through nostalgia (like me) or hatred through "it's the way we do things around here" syndrome. As a developer that uses MS products and support in his profession, and develops Linux, Android, and Arduino apps as a hobby, I still prefer the current open source way of doing things over the MS way... but as far as the hatred? It cannot be said yet that Microsoft is the same company it was in the Balmer days. They at least *look* like they're moving towards a path that looks similar to the one Sun Microsystems was beating through.

    12. Re: Desparate Microsoft pulls a "Sun Microsystems" by break19 · · Score: 2

      You mean like Linux keeps moving the goal posts for interoperability with other Unix operating systems? Requiring the rest of them to adopt linuxisms just to use things like X?

    13. Re:Desparate Microsoft pulls a "Sun Microsystems" by jeffmeden · · Score: 3, Interesting

      Yeah, they're just quaking their boots for the 3% Apple market and 0.8% Linux share.

      The point is right there in the second paragraph of the article: "The company will let developers build .NET cloud applications on multiple platforms; it is promising future support of the .NET Core server runtime and framework for Mac and Linux"

      The cloud market is dominated by Linux and linux-like systems, no one is doing Windows in the cloud except Microsoft Azure and that hasn't been going very well for them (hard to make money selling yourself OS licenses). So, get the stack into the cloud and maybe just maybe companies doing hybrid cloud deployments or are otherwise cloud-averse due to the lack of Windows presence can now get their feet wet. If they stick with .net, they will no doubt be still buying Windows licenses and MSDN subscriptions for a while. Without this bridge, companies just make the jump completely away from Microsoft.

    14. Re:Desparate Microsoft pulls a "Sun Microsystems" by Anonymous Coward · · Score: 3, Funny

      I go around saying "Microsoft limits filenames to a ridiculous 8.sqrt(3) format."

      Does that make my hatred irrational?

    15. Re:Desparate Microsoft pulls a "Sun Microsystems" by jbolden · · Score: 3, Insightful

      Digia doesn't have the money to keep Qt up where it was. Cocoa is 100% entirely Apple. GTK never really worked all that well outside Linux. Java applications are well out of favor and Oracle isn't throwing much money at it. .NET is the most widely used widget set in the world, it faces no meaningful competition. Why wouldn't it be the cross platform standard almost instantly?

    16. Re:Desparate Microsoft pulls a "Sun Microsystems" by lgw · · Score: 4, Insightful

      I've spent years using both Java and C# professionally. C# wins hands down. For many years before Sun's demise the languages would leapfrog one another in functionality, but Java stopped keeping up a couple years before Sun went down. Java 8 is about where C# was 5 years ago now. It's night and day.

      The real question for MS is: what about phones? MS has partnered to get mobile cross-platform C# working with Mono, but it's not free if you want VS integration. Being able to write and test on the PC and then run on any phone or tablet (well, at least modern ones) is a big deal.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    17. Re: Desparate Microsoft pulls a "Sun Microsystems" by weiserfireman · · Score: 4, Informative

      The early Sherlock Holmes Novels, and the Character of Sherlock Holmes entered Public Domain in the past year

      It does happen, we just don't notice most of the time. I noticed this time because the Arthur Conan Doyle Family filed a big lawsuit to try to keep it under copyright and lost.

    18. Re: Desparate Microsoft pulls a "Sun Microsystems" by kthreadd · · Score: 4, Interesting

      Sounds reasonable. I don't think they are legally bound to keep that promise, but that they spell it out like that is a good thing. An interesting question that comes to mind is if the promise also covers modified code, it looks like the definition of covered code only covers code published by Microsoft. But still, better than nothing.

    19. Re:Desparate Microsoft pulls a "Sun Microsystems" by TheRaven64 · · Score: 3

      How about because they're not open sourcing any of the client side bits?

      --
      I am TheRaven on Soylent News
    20. Re: Desparate Microsoft pulls a "Sun Microsystems" by benjymouse · · Score: 4, Informative

      I don't think they are legally bound to keep that promise

      They are: Promissory estoppel. It is like a one-sided contract - i.e. one that you do not have to sign for it to be legally binding for Microsoft.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    21. Re:Desparate Microsoft pulls a "Sun Microsystems" by Anonymous Coward · · Score: 5, Insightful

      No kidding. An open sourced .NET should get praise rather than grumpy old complaining. Some spend years complaining and then when a company takes a step in the right direction they deride it. Sure it is a decade overdue, but they did it.

    22. Re:Desparate Microsoft pulls a "Sun Microsystems" by DuckDodgers · · Score: 3, Insightful

      Even if Microsoft were 100% ethical today, they now have the reputation, the established position, and the financial resources to keep open source and proprietary competitors out of their desktop market due to the dirty tricks they pulled fifteen to thirty years ago. I won't ever forgive the company for that. To use a metaphor, if General Motors monopolizes the US car market by bombing all of the headquarters of the other automakers, even if GM takes the profits of its monopoly and uses it to create the best cars ever built I still wouldn't buy one. If Linux, or BeOS, or OS/2, or some other player had been able to establish a foothold in the US consumer PC market in the 1990s the competition between them and Microsoft would have made the world technology market look dramatically different than it does today.

      But further, Microsoft still stifles innovation by wielding its patent portfolio offensively against other companies. Microsoft has more profits than Google, and Google - which is plenty evil in some other ways - only uses its patents defensively. Microsoft has also waged FUD campaigns against competitors as recently as earlier this year (Scroogled).

      You can put a tuxedo on a gangster, but he's still just a crook.

    23. Re:Desparate Microsoft pulls a "Sun Microsystems" by DuckDodgers · · Score: 2

      C# > Java
      Scala ? C#
      Kotlin ? C#
      Groovy ? C#
      Clojure ? C#

      NuGet ? Maven
      NuGet ? Gradle
      NuGet ? Leiningen
      ( NuGet > SBT because _ > SBT )

      It's safe to say C# trumps Java. But even with .NET as open source under the excellent MIT license, I'm not sure .NET trumps the JVM and the JVM ecosystem.

    24. Re:Desparate Microsoft pulls a "Sun Microsystems" by Anrego · · Score: 2

      To me the strength of Java has always been the tool stack and libraries around it.

      Most languages usually have something available with regards to dependency management, continuous integration, static analysis, code quality, unit testing/test coverage, etc. Java just seems to have multiple well supported and very polished versions of all that.

      And one thing Java seems to have as an exclusive is a consistent coding convention. Yes people sometimes deviate from it, but the vast majority of Java code you'll see follows the same conventions. It seems like a trivial thing, but it makes a huge difference when working with 3rd party code and tools. Working on a c++ project that involved more then three 3rd party libraries and the code will be a complete mess (and writing adapters for everything is kinda impractical).

    25. Re: Desparate Microsoft pulls a "Sun Microsystems" by rtb61 · · Score: 2, Interesting

      Easy peasy, M$ can just manufacture an off balance sheet company and sell the patents to them and that company can then sue the crap out of you. So the M$ promises are empty unless the patents are specified, otherwise the future 'owner' can argue which patents are or are not covered, seeing that shite like rounded corners can killed a product under corrupt US Patent law, the risk still seems grossly excessive.

      --
      Chaos - everything, everywhere, everywhen
    26. Re:Desparate Microsoft pulls a "Sun Microsystems" by ilsaloving · · Score: 2

      They didn't open source all of .NET. The only open sourced the bits that are critical for .NET being viable for cloud computing, which is an utterly self-serving decision that smacks of desperation.

      If Microsoft really wants to raise eyebrows, they should open source the ENTIRE stack, including all the APIs necessary to write desktop applications.

      So far all they've been doing is playing a game of "Gee, maybe if we open up this one particular little tidbit, that'd be enough for people to bite and give our stuff a try." and hope that nobody is paying attention to the man behind the curtain.

      When your abusive SO repeatedly offers you their hand, only to punch you in the nose when you take it, how long does it take before you stop putting any faith into their protestations about "having changed", etc?

    27. Re:Desparate Microsoft pulls a "Sun Microsystems" by Guspaz · · Score: 2

      They're opensourcing the entire server stack... which happens to contain nearly the entirety of the client-side stack. You'll miss Windows.Forms and WPF, sure, but Windows.Forms already has opensource implementations courtesy of Mono (which I would imagine should run on Microsoft's implementation of .NET), and WPF never really took off, leaving Windows.Forms still more popular. The reason that Mono never implemented WPF was apparently due to lack of interest and resources... Well, Microsoft may have just removed the necessity for Mono to do work on anything *but* the client-side bits, so those resources may now be available.

      That said, I believe that there is far more software out there written using server-side .NET than client-side.

  2. Sounds like what Sun did by ErichTheRed · · Score: 5, Informative

    This is actually a pretty smart idea, but it sounds like what Sun did with Java and parts of Solaris. .NET was designed to be a Windows-only application platform, requiring Windows clients for fat applications and at least Windows servers for web applications. Now Microsoft is seeing Windows become less relevant, but they do want people to be using their software stack regardless of platform.

    Same thing with Visual Studio being made free...kind of like XCode being free for MacOS, and the open source IDEs being free. It's a bold move because now the .NET ecosystem needs to stand on its own, and I guarantee they're going to try to tie this in with Azure somehow (like making you run the free VS in Azure VMs you pay for or something...)

    One scary thing from my side of the house (systems engineering/integration) is the number of new security flaws and the sheer volume of patches that are going to be released once .NET gets more scrutiny. A good thing, yes, but patching .NET is already a pain in the butt.

    1. Re:Sounds like what Sun did by MyLongNickName · · Score: 2

      No it isn't worthless. Most small shops could probably get by with using it exclusively.

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    2. Re:Sounds like what Sun did by Morpeth · · Score: 4, Informative

      "Visual Studio still costs over four thousand dollars"

      WTF are you talking about? That's not even close to true. VS Pro is about $500-600.

      The 4k you're talking about is if you buy the entire MSDN suite of MS tools (which will have VS in it), but that includes everything under the sun pretty much made by MS, that's 4k, sure, but you're grossly misinforming, or just trolling, when you say VS costs 4k.

      --

      'The unexamined life is not worth living' - Socrates
    3. Re:Sounds like what Sun did by c · · Score: 2

      This is actually a pretty smart idea, but it sounds like what Sun did with Java and parts of Solaris.

      ... which then got acquired by Oracle, thus providing a graphic illustration how a large corporation can open source something and then promptly proceed to fuck it up.

      --
      Log in or piss off.
    4. Re:Sounds like what Sun did by ThePyro · · Score: 5, Informative

      VS2013 Professional is currently available in the Microsoft Store for $499. No MSDN subscription required as far as I can tell.

  3. Re:Too little, too late by i+kan+reed · · Score: 5, Funny

    Oh no, two versions of an open source technology. Thank god Linux still only has that one distribution.

    Really, though, I can see no downsides to this change.

  4. Re:Too little, too late by TheRealMindChild · · Score: 2

    Yeah, without one of the most important parts... WinForms

    --

    "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
  5. What license? by CAPSLOCK2000 · · Score: 2

    I've got only one question: What license will they use?

    1. Re:What license? by Barlo_Mung_42 · · Score: 5, Informative

      The MIT license. Are you certain that was your only question?

    2. Re:What license? by DataPath · · Score: 3, Informative

      While the .NET Core is under the MIT license, Roslyn appears to be under the Apache 2.0 license.

      I can see the reasoning behind the different choices - I'm just saying is all.

      --
      Inconceivable!
  6. Re:Too little, too late by Trepidity · · Score: 2

    Mono is impressive, but doesn't have the development resources to really compete with the CLR or JVM for a lot of workloads. The garbage collector in particular is not as good. That's one reason you see languages that want to build on top of an open-source VM, like Clojure or Scala, targeting the JVM rather than Mono.

  7. Perfect Linux Application for .NET by trandles · · Score: 5, Funny

    I really hope systemd is rewritten using .NET!

    1. Re:Perfect Linux Application for .NET by eclectro · · Score: 2

      I agree. It's time all the underlings stop fighting their destiny!!

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
  8. Post-Ballmer Microsoft by Ryyuajnin · · Score: 3, Interesting

    I fully expect post-Ballmer Microsoft will continue to surprise all of us.

  9. saywhatnow? by ihtoit · · Score: 2, Funny

    bit fuckin' early for April Fools isn't it?

    --
    Political debates have me rolling my eyes so much I think I got optical whiplash. I should sue. - Foamy The Squirrel
  10. Re: RIP Java! by Racemaniac · · Score: 2

    Can you explain? what part of the .net collections would be lacking?
    If you see comparisons between .net and java, it's usually that the past 10 years .net has evolved and java sometimes catches up a tiny bit.
    I always thought that java collections were weaker since in .net even an array is also still a collection, they have collections for just about anything you need, and with LINQ you've got an incredibly powerful way of manipulating/creating/accessing collections.

  11. Die, mono, die! by damn_registrars · · Score: 4, Interesting

    As much as I don't care for Microsoft, if this brings about an end to all the headaches I run in to trying to use mono then I will welcome it. I love all the applications that I need to run that have 30 pages worth of crowd-sourced (and nearly unreadable) documentation for how to run them in wine with mono. It's time to be done with this bullshit and get back to work. I understand the goals of mono and they were admirable but they just never really worked out. Hopefully those guys can help the development of the open-sourced .NET.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  12. Current Slashquote is ironic by neo-mkrey · · Score: 2

    "We are Microsoft. Unix is irrelevant. Openness is futile. Prepare to be assimilated."

  13. Microsoft is not less evil,more companies are Evil by coder111 · · Score: 4, Insightful

    Microsoft still has dominance (monopoly) of desktop OS and office software. They still have incompatible office formats. They still corrupt international standards organizations. They still have the mindset of "Microsoft way or the highway". They still bundle their OS with most computers and vendors that want to sell computers without Windows still get in trouble. They still screw up their mobile phone partners.

    They are still as evil as they used to be. They missed the boat with search/internet services and mobile- so they have a weeker position now. And now we have other evil companies like Apple and Google, and other evil organizations like NSA and GCHQ that affect the internet and computing world. But given emergence of new evils and reduction of power of Microsoft does not make them less evil.

    --Coder

  14. Open, but will it run? by Nkwe · · Score: 2

    In concept making the .NET framework open source sounds cool. But, does making it open source mean that I can make a change to the framework, recompile it, distribute the binary framework along with my dependent application, and expect that someone else can just install my version of the framework and be good? Or does it mean that if I want to distribute a modified framework, I have to go through some sort of code signing process in order to allow it to run on someone else's computer? What would this signing process look like? In addition the assembly loader in .NET makes certain assumptions about version numbers of assemblies. It will be interesting to see how it works when due to multiple development paths, core assembly version numbers are not necessarily sequential / increasing over time.

    1. Re:Open, but will it run? by ljw1004 · · Score: 5, Interesting

      In concept making the .NET framework open source sounds cool. But, does making it open source mean that I can make a change to the framework, recompile it, distribute the binary framework along with my dependent application, and expect that someone else can just install my version of the framework and be good?

      Yes exactly that. Imagine you wanted to change System.Xml.dll. You'd do that, and distribute your modified version of the binary alongside your app. (You won't be installing the binary framework system-wide; you'll only be distributing your updates to it locally).

      disclaimer: I'm on the VB/C# language team.

    2. Re:Open, but will it run? by benjymouse · · Score: 2

      disclaimer: I'm on the VB/C# language team.

      Question: PowerShell is implemented using .NET. Will we see PowerShell on Linux?

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
  15. Year of the Linux desktop!!! by AmazinglySmooth · · Score: 2

    I'm sure this will usher in a new era for Linux desktops!

  16. "Server Stack"? by Rob+Riggs · · Score: 2

    Does this mean that the client-side stuff (WPF) will be missing? .NET is a lot less useful if the GUI components are still missing.

    --
    the growth in cynicism and rebellion has not been without cause
    1. Re:"Server Stack"? by turp182 · · Score: 2

      At this time WPF isn't being ported. They are giving Xamarin a lot of press at the event, that's the current approach to mobile UI development at this time (I've been using Xamarin for over a year at this point for Android development).

      They talked to this a while ago while taking Twitter questions, during the Halftime Show (go down and there's a jump link), it's about 15 minutes long.

      Here's the link.
      http://www.visualstudio.com/co...

      --
      BlameBillCosby.com
    2. Re:"Server Stack"? by turp182 · · Score: 2

      The current Linux integration is around backend components, with UI being HTML 5 or some web approach. It's a lot easier to embrace the web approach than attempt to write native rich client ports (I'm a huge proponent of rich clients for internal applications).

      And the integration is for the applications, not the development environment (Visual Studio is still Windows only).

      --
      BlameBillCosby.com
  17. Real cross-platform is HARD by HyperQuantum · · Score: 4, Informative

    To make it cross-platform for real is hard. Lots of programmers don't try to avoid platform-specific and write code such as:

    string fullname = directoryname + "\" + filename;

    ...instead of:

    fullname = Path.Combine(directoryname, filename);

    Another mistake is using explicitly hardcoded paths that only exist in Windows. And another challenge would be case-sensitivity of the filesystem on Linux; this can break programs that were developed and tested on Windows only.

    The framework must provide for platform-independent ways to do things so that it is easier/shorter to do it the right way than using a naive but non-portable approach. Or programmers not really thinking things through will simply keep writing non-portable code anyway. The example above illustrates that; it is way more conventient to combine pathnames with such a non-portable string concatenation than it is with the right approach.

    --
    I am not really here right now.
    1. Re:Real cross-platform is HARD by MightyMartian · · Score: 2

      There are all sorts of Windows-centric issues that I can see being a problem. The reliance on environment variables pointing to home directories, system directories and program data directories could be an issue. I suspect that there will be a considerable amount of .NET software that will never run on any other platform than Windows, even if the byte code executes.

      Mind you, I've seen Java programs that committed similar sins, so it isn't completely a .NET problem, it's just that, as you say, the .NET ecosystem has by and large been almost exclusively been developed on Windows, so don't expect all that .NET software to fire up on your Linux or Mac box.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    2. Re:Real cross-platform is HARD by disambiguated · · Score: 2
      It's nowhere near as hard as you're claiming. Those are bad practices even if you only ever intend to run on Windows. And .NET has had portable ways to do these things since version 1.0, and always encouraged their use.

      The example above illustrates that; it is way more conventient to combine pathnames with such a non-portable string concatenation than it is with the right approach.

      To me the correct, portable code looks easier to read and write. You don't have to check if directoryname already has a trailing seperator, for example. The Path APIs will also handle .. (and ~/ on linux).

      In practice there are only a handful of things you need to know to write portable code in .NET. It was always designed to be cross-platform.

  18. Re:RIP Java! by MightyMartian · · Score: 2

    Do you seriously believe .NET ever really had a chance of crushing Java? By the time .NET really came online, Java was already heavily embedded in the enterprise. This guarantees that Java will be a development platform of significant entrenchment for years, probably decades to come.

    People seem to believe that because Java has retreated to some degree from the desktop that it is a failed platform. But its penetration in many enterprise and financial organizations is huge, and I can't imagine that changing any time in the near future. Maybe in the long run, sure, but then again, the long run for banks, insurance companies and the like is half a century; look at all the COBOL code out there.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  19. Re:Brutal Load Times by ljw1004 · · Score: 4, Interesting

    .NET applications still need read about 1GB of libraries from the disk (only portions are kept in memory). This is why .NET applications are so brutally slow to load. Will this improve?

    .NET Native speeds up startup times considerably. The way it works is it compiles your .NET app into native code, does whole-program optimization, and "shakes out" all the bits of the framework that aren't actually even needed by your code. (.NET Native is still under development, and currently available in preview form for store apps)

    disclaimer: I'm on the .NET team (in particular on the VB/C# language team)

  20. Developers by StripedCow · · Score: 2

    Good for them.
    Open sourcing .NET will probably work better than just shouting "developers, developers, developers!!!"

    --
    If Pandora's box is destined to be opened, *I* want to be the one to open it.
  21. A Great Step Forward... by ndykman · · Score: 2

    Of course, I saw all the expected arguments, and a lot of "but, Microsoft is the exact same company from 20 years ago, so this must be wrong, evil, etc." Well, companies change. Skepticism is good, but evaluating things as they are is good too.

    The .Net ecosystem is a good environment to program in. They have great languages and frameworks. The Python Tools in VS are actually quite nice (they work fine with CPython). It is disappointing that the IronLanguages project has died off, but maybe this will spark some new interest.

    And one of the main drawbacks to the platform in terms of target platforms is starting to be addressed in a real way.

    It's a pragmatic decision. Microsoft has already benefited from open source projects (ASP .Net MVC, Entity Framework), and this is just an expansion of this. The hardest part will be getting resources to get people to really bang on it on other platforms.

    I bet that internally at Microsoft, lots of people are happy about this, as they really do think they did great work and this gives them greater visibility.

  22. I'm organizing a "Gently-Used Coat" drive for hell by daboochmeister · · Score: 2

    I hear it's gettin' cold down there ...

    --
    "Ahh! I see you're in that indeterminate Schrodinger state where - oh, uh ... never mind." Dave Bucci
  23. Re:Microsoft is not less evil,more companies are E by Ravaldy · · Score: 2, Funny

    I have long ago concluded that on Slashdot success = evil.

  24. Re:Illegal to distribute a WIP JVM implementation by devman · · Score: 2

    Android didn't fork Oracle's Java code, they created it from scratch (they borrowed from Harmony which was from scratch, details, details) with the same API. It is a different set of legal issues entirely. If Google had forked OpenJDK instead, they'd be completely in the clear, but Android would have been GPL licensed instead of Apache2 licensed.

  25. Re:Microsoft is not less evil,more companies are E by Kjella · · Score: 3, Insightful

    I have long ago concluded that on Slashdot success = evil.

    Because more often than not it's true? Market power corrupts, monopoly power corrupts absolutely. Or maybe you should say it's more of a latent behavior in profit-maximizing companies, they simply lack the means to be a market bully until they're successful. Or you're seeing a company in the early phases of an "entice, entrap, exploit" strategy where they act nice and friendly until they got you locked in good and bleed you dry. You might call it good turned evil, they'll call it return on investment and a success. And a tool is a tool, Google used Mozilla to break the IE monopoly and it might have been good for open source and web standards but they were a pawn in a corporate play. And pawns get sacrificed when the goal is in sight, they're not your friends for life.

    Of course there are companies that really do stick to making good products and services that the customers like and are happy and willing to pay for, but most sooner or later turn to the dark side. Particularly if they see a downturn in business and is facing cut bonuses and lost jobs, very few businesses go nobly down the drain. And almost anything can be excused with "it's a free market and we're only charging what the market is willing to bear", or at least that's what you say out loud even if you know they had absolutely no real choice in the matter. Particularly in business to business there's absolutely no hesitation or shame in grabbing as much of the other company's money as you can.

    --
    Live today, because you never know what tomorrow brings
  26. Re:Brutal Load Times by ljw1004 · · Score: 2

    I thought .NET cached its JIT images. Is this mistaken? If not, what's really new in .NET Native?

    JIT has to be done very quickly. Therefore it's purely local (method-by-method) rather than cross-method. Also even within a method it only has time to do simple easy optimizations. NGEN is a way to do JIT ahead of time. But it still only uses the same JIT algorithm, i.e. doesn't do heavy-duty optimization.

    Also, .NET Native does build-time generation of interop and serialization code. .NET Native uses the VisualC++ compiler backend, benefitting from its long history of optimizations. All this adds up to massive perf benefits - in some apps, 50% cold startup time improvements, 85% reduction in .NET startup costs.

  27. Re:Microsoft is not less evil,more companies are E by blind+biker · · Score: 2

    Wait a second: GP listed reasons why Microsoft was and still is a sociopathic entity, and your one and only counterargument is "I have long ago concluded that on Slashdot success = evil"? Looks like you arrived to the end of your brain, and it was a very short journey indeed.

    --
    "The agriculture ministry is not in charge of Gundam" - Japanese ministry official.
  28. Awesome by JDG1980 · · Score: 2

    This is very good news. ASP.NET is a great web development platform, far superior to the atrocious hack that is PHP. The only reason so far why PHP has predominated is licensing costs: until now, you needed a Windows Server to do ASP.NET properly (or else resort to unsupported hacks like Mono), whereas PHP is free. Now that the playing field is about to become more level, hopefully it will be the beginning of the end for PHP.

  29. Cite for "Linux is a Cancer" by Whiney+Mac+Fanboy · · Score: 4, Informative

    You are twisting his words. Ballmer was not talking about Linux, but about the GPL and it's 'viral' nature.

    No. You are totally incorrect. Here's the quote, from it source in the Chicago Sun-Times (via the internet archive):

    Q: Do you view Linux and the open-source movement as a threat to Microsoft?

    A: Yeah. It's good competition. It will force us to be innovative. It will force us to justify the prices and value that we deliver. And that's only healthy. The only thing we have a problem with is when the government funds open-source work. Government funding should be for work that is available to everybody. Open source is not available to commercial companies. The way the license is written, if you use any open-source software, you have to make the rest of your software open source. If the government wants to put something in the public domain, it should. Linux is not in the public domain. Linux is a cancer that attaches itself in an intellectual property sense to everything it touches. That's the way that the license works.

    --
    There are shills on slashdot. Apparently, I'm one of them.
  30. go suck an egg .NET! by keneng · · Score: 2

    Don't trust Microsoft. Never trust Microsoft! Always remember their strategy: Embrace, extend, extinguish!. They are attempting the first step EMBRACE by slipping their tools into Linux like a Trojan horse virus. DON'T USE THIS .NET TROJAN. Get it out of Debian free and place it back in nonfree where it belongs.