Live data from Hacker News

Microsoft takes .NET open source and cross-platform

news.microsoft.com

131–140 of 937 posts

Re: Microsoft takes .NET open source and cross-platform

#131

If you would have shown me this headline 15 years ago I would have thought it was an onion article. Who would have thought they would have come this far?

> Who would have thought they would have come this far?

The sad thing is: these massive changes are only chipping away at the entrenched opinions.

They've been doing this bit by bit over the past few years, yet I keep seeing this[1] kind of stuff at every turn (find my reply here[2] for a true tidbit of irony).

We can be a very religious lot at times.

[1]: http://compositecode.com/2014/04/09/ive-officially-sent-this... [2]: https://news.ycombinator.com/item?id=7526525

Re: Microsoft takes .NET open source and cross-platform

#132

It's funny how Nadella has moved the needle more for developers in 9 months than Ballmer did in the last decade or so, and all that without running around like a madman too. Pretty good. I'll never switch back to MS for what they've done in the past but it is nice to see them try hard to become a nicer player in the software eco-system. Google and Apple need some other party to keep them sharp, it might as well be MS…

It's hard to imagine something this big could have been planned and executed within 9 months. There's no doubt that Nadella is moving things in the right direction, but some of these plans must have started taking shape before he took over.

Re: Microsoft takes .NET open source and cross-platform

#134

This is epic. Peter Thiel was right about creative Monopoly. The new Microsoft under Satya Nadella has totally changed the direction of Microsoft in just a few months. They had one of the best and rock solid development platforms and research division, and loyal customers. The new Azure cloud (Online + On Premise) along with the opening of .Net will change the playing field. I'm sure this is a great new for us develo…

>The new Microsoft under Satya Nadella has totally changed the direction of Microsoft in just a few months. They had one of the best and rock solid development platforms and research division, and loyal customers.

While you might be right about having a new leader and creating change, but this is not something that happened in the last few months. This has been building up for years. I think it started with IronPython and IronRuby, then other things started popping up too.

ASP.NET vnext has been on github for a while now.

You're right though about this all being really great news.

Re: Microsoft takes .NET open source and cross-platform

#136

It will be interesting to see how this will work in practice. C# will port over just fine. But the .Net libraries? System.Windows has little to nothing in it, and right now using things like System.IO.* on Linux and Mac is just asking for trouble. What are they going to do, hack in System.IO.* Linux support after the fact? Or just add Linux.IO.* which is even more of a hack. In either case you're going to get very me…

"What are they going to do, hack in System.IO"

System.IO works very well on Linux/Mac right now. It was one of the first things implemented by the Mono team.

Having ported numerous .NET applications, all of which do fair heavily file I/O (the most common use case for System.IO), the main sticking point has been code that deals with filenames and paths. As in "/home/billy" vs "c:\Users\Billy". A hour or so of cleaning up your code and making use of Path.DirectorySeparatorChar and IsRooted is all I've needed to do.

"As it stands the .Net framework/libraries are very Windows locked"

This shows a lack of understanding of the .Net framework. Yes, if you used crazy Microsoft specific WCF libraries for networking protocols instead of industry standard stuff, or used WPF for graphics, that going to be a problem. But there are literally thousands of classes providing a fairly comprehensive set of data structures, network protocols, etc that are completely untied to Windows or Microsoft. If you are using something in System.whatever you are pretty OK.

P.s., Sockets aren't in System.IO, they are in System.Net

Re: Microsoft takes .NET open source and cross-platform

#137
post #49

I want to believe this, but I just don't. .NET is so much more than just the core libraries. There will be a long time until it's on the same level as Java. I hope Microsoft proves me wrong, of course (C# is an awesome language, F# is not bad either), but I will believe this when I see a distribution of Visual Studio running both on Mac/Linux and on Windows (i.e. the same executable, same as Java).

I will believe this when I see a distribution of Visual Studio running both

VS isn't built (entirely) on .NET but uses lots of C/C++ underneath. So it shouldn't be confused with .NET itself running on these OS.

Re: Microsoft takes .NET open source and cross-platform

#138
The politics of this are interesting, and IMO related to the decline of the PC as a platform. Suddenly Microsoft is the outsider crying for "openness" and "freedom" while hammering on the gates of the Google/Apple ecosystem.

For Microsoft, it's less bad if everyone switches to an uncontrolled platform than if they switch to a platform locked in by a competitor. The embrace/extend/extinguish logic works the other way when Apple are driving it. (They've done fairly well at killing off Flash, and Silverlight never stood a chance in this environment)

Re: Microsoft takes .NET open source and cross-platform

#139
post #117
post #88

I do wonder what this means for the mono project

They seem to be cooperating with Xamarin, to some extent: "To further support cross-platform mobile development with .NET, as part of their strategic partnership, Microsoft and Xamarin announced a new streamlined experience for installing Xamarin from Visual Studio, as well as announced the addition of Visual Studio support to its free offering Xamarin Starter Edition — available later in the year." http://news.micro…

[deleted]

Re: Microsoft takes .NET open source and cross-platform

#140

I know it's silly but I'm tearing up. I grew up with .NET but neglected it for years because of moving to OS X, iOS and web dev. I played for some time with Xamarin and I'm so happy this is where MS is going. a lot to do with it.

Is this Microsoft's runtime or Miguel's? I can't work out whether:

- he's made it (if Mono is everywhere and now blessed by Microsoft)

- he's ruined (if Microsoft's original Windows-only .net runtime is now everywhere, and there's no need for Mono)

EDIT: apparently it's both - https://twitter.com/shanselman/status/532558786486370304

Post reply on HN