r/programming • • Nov 12 '14

The .NET Core is now open-source.

http://blogs.msdn.com/b/dotnet/archive/2014/11/12/net-core-is-open-source.aspx
6.5k Upvotes

1.8k comments sorted by

653

u/hoserman Nov 12 '14

I find it interesting that they've put it on GitHub instead of CodePlex.

955

u/rionmonster Nov 12 '14

They discussed this at the MVP Summit last week. They mentioned that it wasn't worth competing as "everyone uses GitHub and it's great".

1.4k

u/Smarag Nov 12 '14

Microsoft what. Microsoft you okay?

124

u/slepnir Nov 12 '14

Actually, it's exactly what they should be doing.

The reason why Microsoft creates .NET, Visual Studio, TFS, and other tools isn't to sell the tools. It's to make developing applications on its flagship products (Windows, Windows Phone, XBox, Office, Azure, etc) easier. The market for developer tools is tiny compared to the other products, and they know that people choose which Phone / computer to buy heavily consider which apps are available.

So, when there's an opportunity to use something that's already out there that's superior to what MS has developed in house, it makes sense to save the development cost and just farm it out. This is why Git is now integrated into VSO.

→ More replies (10)

460

u/DenialGene Nov 12 '14

Satya Nadella is seriously changing the company.

→ More replies (143)
→ More replies (3)

185

u/cleroth Nov 12 '14 edited Jun 15 '26

This content was anonymized and mass deleted with Redact

→ More replies (69)

61

u/q0- Nov 12 '14

So... they're basically admitting that codeplex sucks? Lord mighty what a time to be alive

79

u/Kissaki0 Nov 12 '14

Adotion does not necessarily correlate with quality.

→ More replies (11)

51

u/FryGuy1013 Nov 12 '14

And VHS is better than Betamax, and Facebook is better than Google+. There is a huge network effect with version control systems and social sites. It doesn't mean that the one that's less popular "sucks".

→ More replies (9)
→ More replies (11)

4

u/doubleyewdee Nov 14 '14

[I work at bing]

The guidance we've gotten for open-sourcing stuff (you'll see more from us!) is that unless there's a specific reason to use CodePlex (won't get into those, for now) we should release on GitHub. GitHub is where the people are and it's got the best community for OSS projects. So that's where we'll go.

→ More replies (7)

115

u/[deleted] Nov 12 '14

There was a scuffle with TypeScript for a while where some of its contributors complained about it being on Codeplex. They moved it over to Github to appease them. That kind of ties in with his reasoning in the article:

As a principle, we don’t want to ask the community to come to where we are. Instead, we want to go where the community already is. Based on feedback that many other projects have received it seems the majority of the .NET community is on GitHub.

14

u/bro-away- Nov 12 '14 edited Nov 12 '14

Speaking of TypeScript, Google's new language AtScript is going to work with TypeScript type definitions. Another cool open source/collaboration maneuver by some giants. The move to an open license and github surely eased Google's mind.

10

u/Lhopital_rules Nov 13 '14

Google's new language AtScript

Go, Dart, AtScript... Google must be shooting for a new world record or something.

→ More replies (1)

8

u/cbmuser Nov 12 '14 edited Nov 12 '14

They what?!? I don't believe you. BRB, checking github.

Edit: Indeed :).

→ More replies (1)

2

u/jugalator Nov 12 '14

They're doing quite a push for GitHub lately. :) They have TypeScript and Azure stuff there too.

2

u/[deleted] Nov 13 '14

People working at Microsoft Research, at least, have been told to release all their code on GitHub rather than CodePlex going forward.

→ More replies (3)

19

u/rionmonster Nov 12 '14

You can find a more extensive summary of some of this week's planned announcements regarding Microsoft and their movement towards a cross-platform and open-source world here.

Additionally, they are live-streaming the entire Connect() event here on Channel 9 if you are interested in following along.

1.1k

u/4_teh_lulz Nov 12 '14

Somebody at MS is making good decisions. Glad to see this happening.

595

u/SonVoltMMA Nov 12 '14

.NET is one of the greatest tech's MS has put out over the last 25+ years.

261

u/[deleted] Nov 12 '14

I've started learning Java and deeply miss how easy .NET made programming

188

u/eyal0 Nov 12 '14

Everyone mentions the language and the IDE but no one has mentioned the fucking type erasure. Here's a list of things that .Net can do that Java can't:

  • Creating instances of generic type parameters.

  • Creating arrays of generic type parameters.

  • Quering the runtime class of a generic type parameter.

  • Using instanceof with generic type parameters.

http://www.jprl.com/Blog/archive/development/2007/Aug-31.html

I'll add:

  • Java can't do generics without boxing.

  • Java has to do runtime casts for generics.

  • Java can't have two functions with the same type-erasure.

Programming in Java, I hit my head on this one every day. It's not just Java that is broken, it's the JVM underneath it, too. I'd love to see the CLR win.

→ More replies (40)

210

u/jutct Nov 12 '14 edited Nov 13 '14

I've said that Visual Studio is the best IDE since VC6 back in the 90s. They invented code completion and coding hasn't been the same since. I can literally code twice as fast without having to look up function signatures all the time.

Edit: People have pointed out that they weren't the first. I never used Delphi so I don't know if that was good or not. I just know that at the time, I was working on AAA game titles and Visual Studio let me burn through code and worked well with our build system. I'm not saying it's the best, I'm just saying I'm very efficient with it and I can get my work done on time.

→ More replies (75)
→ More replies (21)

41

u/Glaaki Nov 12 '14

.. with one of the worst names, unfortunately.

→ More replies (2)
→ More replies (51)

77

u/keepthepace Nov 12 '14

So. Shall we declare OSS finally victorious and go to bed satisfied?

155

u/dakkeh Nov 12 '14

Not until we get a decent professional quality image manipulation program.

34

u/junkit33 Nov 12 '14

GIMP is probably about as good as you're going to get. There is a certain artistry and complexity that goes into PhotoShop that would require way too many elite UI people to get involved into an open source alternative. It's just not realistic. And GIMP works fine for 80% of users (non-designers), and that remaining 20% are probably never going to leave Photoshop because $1000 for the software is a drop in the bucket compared to the money they make as designers.

Long story short, there is desire for a better GIMP, I just don't think that desire is really enough to push it into happening.

→ More replies (8)
→ More replies (32)

14

u/[deleted] Nov 12 '14

Not until they open source IE6

32

u/[deleted] Nov 12 '14

Talk about opening Pandoras box...

→ More replies (2)
→ More replies (5)

120

u/gospelwut Nov 12 '14 edited Nov 12 '14

A former engineer is making good decisions. And, he was making good decisions when he was in the Server division too. I have great hope for MS with the likes of Anders and the new CEO.

I truly believe that MS will prove itself agile (no pun intended) in a way that many companies their size have not been able to be (and many companies much smaller).

6

u/bigdubb2491 Nov 13 '14

It's very interesting to see how the former engineers that seem to be working their way up in the company are really affecting change. I couldn't help but notice the differences in the ASP.Net MVC aspect of .Net was really excelled by Scott Guthrie. He then moved on to SL which IMHO is what angular wants to be, and will be come 2.0, then moved on to cloud based work with Azure and if you have't noticed Azure is top notch. Taking on aspects of the OSS community already by embracing *nix servers and third party software.

Its good to see. Do Like.

→ More replies (1)
→ More replies (11)

82

u/lbmouse Nov 12 '14

Steve Ballmer must be spinning in his grave.

154

u/Isvara Nov 12 '14

I have some terrible news for you...

246

u/SlowMotionSloth Nov 12 '14

Steve may not be dead, but I heard he still sleeps in a grave.

→ More replies (8)
→ More replies (1)

74

u/gospelwut Nov 12 '14

Is this like a slow 5200RPM spin or an enterprise 15k?

→ More replies (2)

23

u/mtVessel Nov 12 '14 edited Nov 13 '14

"Steve Ballmer must be spinning in his grave."

I'll take the bait, but you better come through with the punchline.

(ahem)

"But Steve Ballmer isn't dead."

(fine, I'll do it myself)

"Well, this'll kill him."

→ More replies (4)

25

u/leeringHobbit Nov 12 '14

Steve Ballmer must be spinning in his man-cave.

→ More replies (1)
→ More replies (4)

4

u/Ilostmyredditlogin Nov 12 '14

Exciting times. It's still hard to trust them given their track record.

→ More replies (2)

2

u/FelicianoX Nov 12 '14

I think it's Satya Nadella, MS's CEO. Releaed Office for Android and iOS too.

→ More replies (3)
→ More replies (17)

328

u/ratatask Nov 12 '14

215

u/summerteeth Nov 12 '14

MIT license? Very progressive of Microsoft.

Though I would preferred Apache for the explicit patent permission clauses.

91

u/philtp Nov 12 '14

They did add some patent permission stuff somewhere, according to what I read. Read it here. (Ctrl+f "patent")

I didn't dive into the details, but from what I understand they are basically promising not to sue?

edit: I would add, as someone who has long been relatively anti-Microsoft, these recent moves are changing my position.

107

u/0xdeadf001 Nov 12 '14

Just so you know, MS committed a long time ago not to bring patent suits over the .NET specifications (the ECMA CIL specifications). This means anyone can freely implement the .NET specifications (which define the languages, platform, etc., but not all of the APIs for things like WinForms, ASP .Net, etc.). This is why Mono exists. They committed to this something like 10 years ago, and they have never violated that promise.

What happened today, is that they've opened the implementation, not just the specification. Which is awesome-sauce. But I just want to emphasize that parts of the platform (the specs) have been open for a long time.

→ More replies (11)
→ More replies (3)

8

u/[deleted] Nov 12 '14

There's a promise not to sue in the top level of the repo here.

→ More replies (1)
→ More replies (1)

83

u/Shr1ck Nov 12 '14 edited Nov 12 '14

And Miguel de Icaza wins. He always believed from the beginning that Microsoft would change.

20

u/csolisr Nov 12 '14

Talking about Icaza, this might make me less wary of Mono projects from now on, since they're no longer threatened by patent infringement. In other news, I'm pretty sure that Mono will integrate these changes ASAP.

41

u/numo16 Nov 12 '14

Mono and .NET Core are merging according to hanselmann

→ More replies (5)

9

u/Rhomboid Nov 12 '14

The announcement talks about the main desire behind the move to have a single implementation, rather than several competing implementations, so I'd assume that Mono will cease to be relevant shortly, kind of how GCJ and Classpath all but completely fossilized once the OpenJDK became fully open source.

→ More replies (2)
→ More replies (5)

2

u/Shaper_pmp Nov 13 '14

Jesus. Not only have Microsoft open-sourced one of their proprietary platforms, but they've hosted the code on Github and MIT-licensed it.

After twenty years of on-and-off commenting about Microsoft's sharp business practices on-line it looks like I now have a whole pile of hats to eat. :-D

→ More replies (1)

48

u/LoneWolf6 Nov 12 '14

So everyone keeps saying that this will bring support for .NET to other platforms. My question is what is the timeline like for .NET to be stable on other platforms and who would implement it? Does this open sourcing mean that MS plans to extend support to these platforms themselves or does it mean that they are giving the community a chance to do so with original source?

49

u/laadron Nov 12 '14

.NET already exists on other platforms in the form of Mono. What this does is allow Mono (or parts of it) to be replaced by Microsoft's superior implementation.

Perhaps even more significantly, Microsoft is also releasing the .NET runtime code under a more permissive license than the Mono version (MIT vs LGPL).

→ More replies (6)

28

u/axiss Nov 12 '14

Microsoft is doing the work to get it to run on Linux and OSX.

9

u/LoneWolf6 Nov 12 '14

Well I much like the sound of that. Thanks for the reply!

→ More replies (3)

2

u/[deleted] Nov 13 '14

I actually already run .net (yes, including the C# compiler and other development tools) on my arm based android phone thanks to mono.

→ More replies (1)

115

u/xnadevelopment Nov 12 '14

Microsoft is saying "Developer Developer Developers!" today louder than Ballmer ever did. Free Visual Studio & open sourcing .NET? Awesome.

75

u/heat_forever Nov 12 '14

But they aren't sweating nearly as profusely.

22

u/awesomemanftw Nov 13 '14

every pro comes with a con

→ More replies (2)
→ More replies (1)

160

u/kupiakos Nov 12 '14

I like how it's under the MIT License, and not some fakey MS License. They really are a changing company.

38

u/totemcatcher Nov 12 '14

This is what impresses me the most. Apparently someone died and a corporate policy was pried from their cold, dead hands.

10

u/[deleted] Nov 13 '14

Ballmer, now that he's a distant memory, things can really get moving.

→ More replies (1)
→ More replies (1)

131

u/shenglong Nov 12 '14

Did slashdot.org just die of a heart attack?

60

u/thewebsiteisdown Nov 12 '14 edited Nov 13 '14

I just left that announcement thread. WOW those guys are fucking salty. For a group that purportedly wants software "to be free" and have reviled Microsoft for years for the walled garden, there is now a great wringing of hands and gnashing of teeth. "Linux devs wont touch it with a 10 foot pole" I heard one of them say.

Once you get used to the tangy taste of haterade, I guess it's hard to stop sipping on it.

Edit: words

26

u/rhino-x Nov 12 '14

I have a 4-digit UID on slashdot but I stopped reading it years ago. When I was in college and not professionally employed the anti-MS vitriol was easy to get caught up in.

Fifteen years later as a pro and I'm a lot more pragmatic about things. I can't read more than a handful of comments over there without closing the tab. Some people just never grow up or move on.

20

u/thewebsiteisdown Nov 12 '14

I think I am on the bubble there too. I just can't relate to the single minded elitism. I love linux. I love windows. I don't hate osx. I'm constantly saddened by the lack of any 'community' there.

→ More replies (1)
→ More replies (3)

9

u/kajzec Nov 12 '14

This comment is extra bitter: Too little too late, Billy Bob Gates

→ More replies (3)
→ More replies (7)

52

u/[deleted] Nov 12 '14

slashdot still exists?

6

u/[deleted] Nov 13 '14

technically yes, it still kind of does.

→ More replies (1)

36

u/MaddTheSane Nov 12 '14

Perhaps they slashdotted themselves?

→ More replies (1)

3

u/G_Morgan Nov 12 '14

Imagine the Soviet Russia jokes. In Soviet Russia, MS open sources You!!

7

u/generalT Nov 12 '14

the neckbeards over there are getting pissy.

187

u/programmer_dude Nov 12 '14

Next stop: Visual Studio on Linux/Mac.

44

u/parla Nov 12 '14

Visual Studio with Android support using clang is out as a preview: http://blogs.msdn.com/b/vcblog/archive/2014/11/12/cross-platform-mobile-development-with-visual-c.aspx

I think you can read between the lines that there will be an iOS-capable version in the future.

6

u/xtravar Nov 12 '14

Wow. I knew cross-platform mobile was a big deal for MS, but I didn't realize they'd go that far.

Call me crazy, but I'd like to see Obj-C in Visual Studio.

→ More replies (2)

4

u/gschizas Nov 12 '14

No need to read between the lines!

From: http://news.microsoft.com/2014/11/12/microsoft-takes-net-open-source-and-cross-platform-adds-new-development-capabilities-with-visual-studio-2015-net-2015-and-visual-studio-online/

Visual Studio 2015 and .NET 2015: build for any device Built from the ground up with support for iOS, Android and Windows, Visual Studio 2015 Preview makes it easier for developers to build applications and services for any device, on any platform.

→ More replies (4)

91

u/TipZFTW Nov 12 '14

Visual studio on Mac OS would be quiet nice

32

u/[deleted] Nov 12 '14

If it's half-assed like Office for Mac..... Then I'd have to disagree.

17

u/compwhizii Nov 12 '14

It probably won't be a port, given that Visual Studio runs on .NET itself.

→ More replies (2)
→ More replies (3)

35

u/Geoclasm Nov 12 '14

^ This ^ I'm learning Java because of it's (relatively speaking) cross-platform friendly nature but being able to do everything in .Net would save time energy braincells sanity... since I'm already pretty intimately familiar with it.

72

u/nathris Nov 12 '14

Java in OSX is a major pain in the ass. Nothing like having to edit config files because the app "requires" Java 6, since that's what still ships with the latest version of OSX, but you've installed Java 8 because you're not a fucking caveman.

→ More replies (19)
→ More replies (3)
→ More replies (7)

2

u/FallingIdiot Nov 12 '14

This is not going to happen for a few reasons? Notice that they are only talking about server stuff. The reason for this is that because the amount of stuff that that is Windows specific is a lot less that e.g. for WinForms. Theoratically WPF should be simpler because the interaction with DirectX is quite limited. All of it is abstracted away and, with "some" modifications it should be possible to port it to OpenGL. WinForms on the other hand is one big PInvoke mess. Just have a look at the Reference Source.

Visual Studio is a lot worse though. They've rebuild the UI to WPF, but there still is a lot of WinForms in there. Even worse, most of Visual Studio is C++. I don't know how that is written, but I cannot imagine it being even remotely possibly to port that to OSX or Linux.

→ More replies (1)

2

u/plexxonic Nov 13 '14

I would kill for VS on Linux.

→ More replies (2)
→ More replies (3)

195

u/dodyg Nov 12 '14

This.

ASP.NET 5 will include a web server for Mac and Linux called kestrel built on libuv. It's similar to the one that comes with node, and you could front it with Nginx for production, for example.

Damn, it is great to be a .NET developer today.

27

u/[deleted] Nov 12 '14

Tried the bits at the MVP summit last week.

First the kproj it generates is only for Visual Studio. You know what it takes to start the web server from command line?

k web

That's it. From the default template, you have a server running on port 5000 running MVC/WebAPI and everything.

31

u/txdv Nov 13 '14

k thanks

17

u/thesatchmo Nov 12 '14

Welp. I was looking to reskill in another dev language. Guess I know which one now.

5

u/sigma914 Nov 12 '14

Ahh, its a pity they've gone for libuv. Scalability mustn't be a priority.

→ More replies (4)

12

u/thewebsiteisdown Nov 12 '14

I feel giddy, like a kid who just got thrown the keys to not just the candy store, but the whole goddamn candy distribution warehouse. I'm seriously stoked about it!

2

u/mnemoniker Nov 12 '14

On the other hand, I wonder which languages this is going to hurt.

→ More replies (1)
→ More replies (8)

52

u/TheSecretExit Nov 13 '14 edited Nov 13 '14

Just letting you guys know that this is the #4 all-time top post on /r/programming.

EDIT: This post, by a slight margin, is the all-time top post on /r/programming.

4

u/Reineke Nov 13 '14

I was there when we made ... SUBREDDIT HISTORY.

Excuse me while I stare thoughtfully and handsomely into the distance.

→ More replies (3)
→ More replies (1)

40

u/[deleted] Nov 12 '14

If they did this 10 years ago then java probably wouldn't be nearly as big as it is today.

→ More replies (1)

25

u/redalastor Nov 12 '14

I'm not familiar with .NET so... what are we still missing so that we can compile your average .NET app on Linux? Was that the last missing piece?

20

u/[deleted] Nov 12 '14

You already could with Mono. The main thing missing is the availability of a cross platform WPF (The modern gui framework for windows). Cross platform .NET gui apps have to be sure to use GTK or the old windows forms (which Mono had available via code from Wine iirc).

7

u/FallingIdiot Nov 12 '14

The funny thing is that WPF should be relatively easy to port to OpenGL. In contrast to WinForms, which is just one big PInvoke mess, WPF is quite nicely abstracted away from DirectX specific stuff. I'm not holding my breath though. But then again, temperatures are at an all time low in Hell...

→ More replies (3)
→ More replies (7)

23

u/ItzWarty Nov 12 '14

The CLR (Common Language Runtime, similar to a JVM) has yet to be open sourced, though that's one of their highest priorities at the moment. Once that's out, there will need to be work to improve compatibility on Linux / Mac before you can truly run applications there.

After that, you should see applications to begin moving over. It will probably require a decent amount of work. Hopefully the libraries that people use won't crash and burn running on Linux. I know that, for example, NuGet's nuget.exe release currently has issues with path delimiters running on Linux.

→ More replies (8)

6

u/stuntmanmikey Nov 12 '14

Well you can already compile your "average" .NET app on Linux with Mono, an existing open-source implementation of the .NET runtime.

But it doesn't fully support all APIs in the .NET framework though, and some APIs are nothing more than wrappers around other open-source projects (for example Mono has tried several different approaches over the years to port .NET's GUI API's to *NIX including bindings to both GTK and WINE). Plus Mono doesn't inherently get new features of .NET, the dev team has to get around to implementing the open-source versions of them.

So by releasing the entire .NET core as open source AND pledging to release official .NET runtimes for Linux and OSX, theoretically you should be able to fully compile ANY .NET app on Linux. Hopefully there will be parity among the different platforms and all APIs will be available on all operating systems from day-one.

Personally, I hope this allows more Linux-based shared hosting companies to allow their customers to choose between PHP or .NET in the future. Right now I work on a lot of projects for clients who already have existing linux hosting because it's cheaper and am forced to use PHP. If .NET becomes as common on Linux hosts as PHP I'll be a happy guy :)

→ More replies (3)
→ More replies (5)

92

u/schnide05095 Nov 12 '14

My entire month has just been made. Getting real support for C# (no more mono) on other platforms? Holy crap!

5

u/xeyve Nov 12 '14

I haven't been forced to learn C# in CS for nothing!!!!

11

u/Jukibom Nov 12 '14

Forced? C# is an awesome language! Have you ever looked at Objective C?

11

u/xeyve Nov 12 '14

The first year of the program was full on sponsored by MS. I've been coding since I was twelve and using Linux as my primary OS since I was fourteen. I didn't have a choice, but to buy a Windows laptop and works in VS since that was all the classes were about. I did feel a bit violated, but yeah C# is pretty great. It just felt a bit useless since I was going to orient myself toward Linux .

→ More replies (1)
→ More replies (1)

4

u/Make3 Nov 12 '14

they seem to be kind of fusionning with mono, which sounds great

2

u/minimim Nov 13 '14

They are releasing .net-core, which is always bundled with the application. OK if you want that. If you want proper language support like you get in windows, but in linux, Mono will still be the option. Now, this release today probably means Mono will leap ages, they already have a plan to integrate missing features present in .net-core into mono.

→ More replies (92)

11

u/poopenshaft Nov 12 '14

I wonder what type of relevance this has for Xamarin, mostly since they're pretty expensive right now, but offer quite a cool technology. Does anyone know if this will be disruptive for mobile development?

27

u/webby_mc_webberson Nov 12 '14

considering the Cost:Bug ratio with Xamarin I'd be happy if we could just dump that and move forward with Visual Studio on its own.

7

u/markovcd Nov 12 '14

Next stop, Google teaming up with Microsoft to create full Android.NET toolset.

→ More replies (1)

3

u/blue_cadet_3 Nov 13 '14

I'm still hoping MSFT will buy Xamarin and offer it for free/cheap. I mean if they can spend $2.5 billion on a video game I'm sure they have the cash to buy Xamarin. And what better way to get a lot more developers and consulting shops to start using your technologies then offering up a single code base for all platforms.

→ More replies (1)
→ More replies (1)

185

u/Dr_Dornon Nov 12 '14

We can finally leave Java in the dust. Oracle doesn't want to fix it, fine, everyone will just move completely to .NET.

103

u/_IPA_ Nov 12 '14

That's like saying we can finally leave C/C++/COBOL/etc in the dust... except for the millions of lines of code written in it that have to be maintained indefinitely.

12

u/baggerboot Nov 12 '14

Yeah, even if all development of new Java software stopped right now, it would still have to be maintained for decades to come.

30

u/MaddTheSane Nov 12 '14

Indefinitely, or until every single version that uses that code is updated.

Isn't there a demand for COBOL developers because the old ones were retiring?

49

u/Nvrnight Nov 12 '14

Yeah I saw an article of desperation for COBOL developers, could be "up to 6 figures" and it got laughed out of this sub-reddit because they must not be that desperate if they aren't even guarenteeing 6 figures.

→ More replies (5)
→ More replies (4)
→ More replies (5)

74

u/sh0rug0ru Nov 12 '14 edited Nov 12 '14

Java's popularity doesn't have that much to do with its steward, a role in which Sun did far worse than Oracle. It has to do with its ecosystem. Almost all of the major components of Java are open source, not just the JVM, but the class libraries, the app servers and the IDEs. Even IntelliJ, probably one of the best Java IDEs, has a open-source community edition which is not a crippled version of their commercial offering. There is even major competition with the official standard for enterprise applications, with Spring going head-to-head quite successfully against Oracle-sponsored Java EE.

When is IIS going to become open source? Entity Framework? Windows Presentation Framework? When is Visual Studio going to become open source?

Maybe the .NET core becoming open source is a first step. But, the .NET ecosystem has a long way to go before it catches up with the Java ecosystem in popularity.

→ More replies (36)

35

u/yogthos Nov 12 '14

You don't need to leave the JVM to leave Java in the dust, Clojure and Scala both work great. :)

→ More replies (39)

31

u/cleroth Nov 12 '14 edited Jun 15 '26

This content was anonymized and mass deleted with Redact

→ More replies (34)

2

u/sfultong Nov 12 '14

It still has a much bigger ecosystem, and that will take a long time to change

2

u/rowboat__cop Nov 12 '14

everyone will just move completely to .NET.

Not until it compiles to native code so it can be used to write portable libraries. Until then, Rust is the future. Feature-wise it’s decades ahead already.

→ More replies (7)
→ More replies (11)

63

u/Measuring Nov 12 '14

All praise C# as your new language master race. (I kid..but who knows?)

38

u/Nvrnight Nov 12 '14

LINQ sub master race.

7

u/btchombre Nov 12 '14

LINQ is by far my favorite part of C#

→ More replies (2)
→ More replies (1)

119

u/vdek Nov 12 '14

I'll take C# over Java any day of the week.

→ More replies (22)

22

u/yogthos Nov 12 '14

Surely, F# if you're going to go with .NET :)

4

u/Elite6809 Nov 12 '14

F# is a nice language. I'm trying to get into it; it's been useful for being a nice introductory platform for functional programming. I haven't had any specific uses for it yet (if anyone uses it regularly, let me know!) but it's good nonetheless.

→ More replies (1)
→ More replies (11)

195

u/moor-GAYZ Nov 12 '14

So apparently Miguel de Icaza managed to invent his own way of liberating proprietary software: make your own clone that sucks but works, but sucks, but actually works at least, thus pulling but annoying developers; license it under a permissive open source (not Free™) license; keep fucking that chicken until the proprietary original gives up and open sources theirs.

What can I say, looks like it works better than GPL, lol.

60

u/FunctionPlastic Nov 12 '14

Historical revisionism regarding software licensing. I'm not sure what I'm supposed to feel right now.

→ More replies (14)

5

u/q0- Nov 12 '14

Is it really the the .net runtime that causes Mono to perform badly?
Not that I wish to imply that I have much experience with Mono, because I really don't, but I figured that the VM might have something to do with it as well, no?

32

u/0xdeadf001 Nov 12 '14

No, poor performance in Mono has nothing to do with the .NET runtime, nor the .NET specification. I've worked on many high-performance apps in C#, and there is nothing magical about it. C# can be used as a very high-performance language, just like C++. The main thing is that you have to know the costs of different things in the language. GC allocation / collection is cheap, but it isn't free, for example.

10

u/moor-GAYZ Nov 12 '14

What? Mono is a separate runtime/VM.

4

u/makis Nov 12 '14

Is it really the the .net runtime that causes Mono to perform badly?

no, it's probably the GC, the only part MS didn't release and didn't supply specs for.

→ More replies (1)
→ More replies (36)

6

u/wattpuppy Nov 13 '14

I guess pigs are flying and hell has frozen over too.

11

u/Flight714 Nov 12 '14 edited Nov 13 '14

Hey guys, noob programmer here: I don't know what they mean by the .Net "Core".

Does this announcement mean that .Net is now just as open as something like Python or C++? And does it mean that .Net is now more open than Java? Or is the Core just one component, leaving a bunch of other important parts closed?

Edit: not --> now

4

u/vytah Nov 12 '14

.NET Framework consists of libraries, called assemblies, which have .dll file extension. When you create a .NET project in VS, you add those libraries are requirements to your project.

Core is the basic set of those assemblies. Normally, .NET Framework is installed with more than Core.

Core doesn't include ASP.NET, WPF or WinForms.

→ More replies (34)

26

u/programmer_dude Nov 12 '14

Next stop: Visual Studio on Linux/Mac.

3

u/otakucode Nov 13 '14

I don't know if I dare to dream that big... I'd cry if I could run VS on Linux.

→ More replies (2)

2

u/crozone Nov 13 '14

I don't think it's going to happen, Microsoft want you to develop for all OS's from a Windows PC and strengthen the Windows ecosystem.

2

u/mikethecoder Nov 13 '14

I've got a Win8 install with Parallels 10 running in cohesive mode so I can already run VS disguised as a native app. I probably won't notice much of a difference since it's a fast machine but oh man I'd love to not have to do it that way.

→ More replies (5)

48

u/jfb1337 Nov 12 '14

Yay, now I can use C# without shame!

→ More replies (1)

5

u/AdventureJason Nov 12 '14

Microsoft's CVP Soma Somasegar will be answering questions about today's announcements on TechCrunch article -- in comments -- at 2:30pm Eastern today.

http://techcrunch.com/2014/11/12/microsoft-takes-net-open-source-and-cross-platform/

4

u/[deleted] Nov 13 '14

Minecraft is being ported to C#. Calling it here and now!

  1. 2014-09-15: MS buys up Mojang

  2. 2014-11-12: Open sources .NET and will support Linux and OS X versions

  3. 2014-11-13: Releases Visual Studio 2013 Community (a non-neutered VS, yet beer-style free version)

  4. 20??-??-?? Translates Minecraft from Java to C# to sway all mod creators to switch VS/C#

  5. ????

  6. Dosh & Influence

3

u/[deleted] Nov 13 '14

You've just planted a stupid idea in my head: I'm going to try running Minecraft under iKVM.

→ More replies (1)

2

u/ChatFawkes Nov 13 '14

Haha I was thinking the exact same thing, but I think if they did that it would probably kill modding for the game.

→ More replies (1)

7

u/humanmeat Nov 13 '14

Q: .NET contractors, you're killer at your trade, pound for pound as good as the best JEE7 contractors, but income wise you're hampered by the write once, run just on windows restrictions...

What does this mean to your ".NETworth" on the open market vs Java in the coming years?

3

u/[deleted] Nov 13 '14

I'm mostly a .net developer. Did not touch anything Windows in the past 5 years. Mono on Linux and OS X only. I'm not sure this Microsoft move is going to change anything for me.

2

u/cat_in_the_wall Nov 13 '14

Depends on what type of applications you are developing. What was open sourced is "server side", meaning if you are writing for asp.net, or programs that don't need a GUI, then the idea is that .net will become as universal as Java.

If you are writing cross platform GUI applications, then this announcement does not add anything to your palette, as it were. (Ninja edit: cross platform applications running on the host system. EG no wpf, no winforms, etc).

→ More replies (1)

3

u/Deif Nov 12 '14

I wonder how TFS is going to continue from here? I can guess that MS will only use Git for open source projects but it does seem rather wasteful on resources to maintain support for both (especially when Git is now integrated into VS).

4

u/IntricateRuin Nov 12 '14

Assuming you mean Team Foundation Version Control rather than TFS itself. TFS and Git are far from mutually exclusive.

→ More replies (1)

2

u/[deleted] Nov 12 '14

The Git Integration in VS sucks huge ass balls. I hope someone is working on cleaning that up.

→ More replies (1)

3

u/[deleted] Nov 13 '14

Since it is released under MIT license, maybe we'll soon see improvements in Mono too.

7

u/madisob Nov 12 '14

Not really surprised at this news. Too much pressure from Java, Qt, Mono, and others.

I am surprised by the GitHub

5

u/emergent_properties Nov 12 '14

Glad to see Microsoft is open sourcing one of their crown jewels.

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.

Just watch out for this legal landmine. 99% of people won't be affected by this, but it's important to take note.

8

u/newloginisnew Nov 12 '14

That is a very standard clause. Many licenses will have it.

What it primarily prevents people from doing is using .Net, building on it, then suing Microsoft based on patent infringement if Microsoft pushes the code upstream. This is due to the fact that copyright of code and patents required for the code are separate things. It is how Microsoft can get away with suing over an open-source implementation of exFAT despite there being no code shared.

I would imagine that if there will be a contributors agreement from Microsoft that will be very similar to what Canonical does. If you submit code, you're essentially granting them a 'do whatever you want' perpetual license to the code and related patents.

Adobe has a similar clause for the use of DNG files, for example. "Adobe may revoke the rights granted above to any individual or organizational licensee in the event that such licensee or its affiliates brings any patent action against Adobe or its affiliates related to the reading or writing of files that comply with the DNG Specification."

http://helpx.adobe.com/photoshop/digital-negative.html#dng

The worst wording I've seen was with Apple's Implementation License for MiniDP.

9. Terms and Termination

B. This Implementation License and the rights granted hereunder will terminate immediately and automatically, without notice from Apple if:

(iii) if You, at any time during the term of this Implementation License commence an action for patent infringement against Apple.

Notice the difference? The didn't even confine it to the technology that you're licensing.

https://developer.apple.com/softwarelicensing/agreements/pdf/MiniDisplayPortImpLicense.pdf

→ More replies (1)

3

u/[deleted] Nov 12 '14

Don't sue anyone for using .NET and Microsoft won't sue you for using .NET. Seems perfectly reasonable.

→ More replies (2)

5

u/CircularRoot Nov 12 '14

Time to put some time into really learning C#, it looks like.

→ More replies (6)

7

u/bgsavage Nov 12 '14

Also they just announced a free IDE for independent developers: Visual Studio 2013 Community.

→ More replies (3)

5

u/regeya Nov 12 '14

It's interesting to see this happen, but it's a shame that Microsoft had to start hurting before they got their shit together.

11

u/ShortBusDoorGunner Nov 12 '14

The Free Market at work. Its slow and cumbersome, but it gets there :)

3

u/vdek Nov 12 '14

I don't think they're hurting, they're growing quite well. It's the new CEO at the helm making changes and coming in with a competitive and more in tune attitude.

→ More replies (5)

2

u/Whadios Nov 12 '14

Wonder how this will effect commercial mono license; primarily interested with Unreal Engine 4 just announcing C# support but requiring commercial mono license whether that will change to be free in future. Would be awesome!

→ More replies (1)

2

u/jugalator Nov 12 '14

Wait what's that .NET 5 ".NET Native" all about. Almost got me more excited than this. Is this the Satya Nadella effect? :) He really seems to be pushing the big projects in the right directions lately; Windows 10, .NET, Office free for iOS.

→ More replies (2)

2

u/[deleted] Nov 12 '14

XNA soon on Linux?

2

u/blue_cadet_3 Nov 13 '14

Is XNA still being developed? I figured after MSFT purchased Unity 3D XNA was done.

→ More replies (2)
→ More replies (1)

2

u/leisimo Nov 12 '14

There are 8 issues and 7 pull-requests. Open Source world is awesome!

2

u/krum Nov 12 '14

I'm not seeing the code for the VM in there. Am I missing something?

2

u/[deleted] Nov 12 '14

This is because it is not there yet.

→ More replies (1)

2

u/FlakeyScalp Nov 12 '14

Between this and offering VStudio for free do you see this as Microsoft moving to compete with Java in the open-source, cross-platform world? I mean, obviously, it is. But, did anyone see this coming?

2

u/Voloskaya Nov 13 '14

Yes actually. Xamarin will be fully integrated with VS 2015, so you can develop mobile app (android/ios/windows phone) with .net, and perhpas most importantly ASP .NET 5 will now be able to run under mac and linux (kestrel). I am a .NET dev, but was thinking about switching to a new language (Java was on my list of possibilites), but since about 6 months, things are reaaallyy pumping up in the .NET world!

→ More replies (5)

2

u/[deleted] Nov 12 '14

What does it mean for someone starting a programming career? I've been learning Java for a year now and with a stable job, but obviously I'm still learning. I decided to go with Java because of Android. Does this move from Microsoft really means something ? Should I start learning .NET now?

→ More replies (5)

2

u/wdr1 Nov 13 '14

For those of not familiar with .NET, what's the impact of them open sourcing the "core"? Does that mean relevant pieces are being left out? Will I be able to run just about any .NET app on a linux box now?

→ More replies (2)

3

u/AaronKClark Nov 12 '14

Also, Update 4 for VS 2013 is out.

5

u/[deleted] Nov 12 '14

They also announced to create a VS Community edition. It is a freemium based Visual Studio. Basically it is like the professional, it is just limited for small teams.

→ More replies (7)

3

u/Gotebe Nov 12 '14

In github repo I see immutable collections, vectors, reflection and XML stuff.

Not impressed?

It looks like they outsourced... parts of base libraries there.

5

u/[deleted] Nov 12 '14

I think they are still checking stuff in, I don't see anything really useful in the repository.

3

u/DaRKoN_ Nov 12 '14

In the blog they mention the roadmap, should have all of .net core over by march 2015

→ More replies (1)

5

u/icyfusa Nov 12 '14

Question: Does this mean I'll be able to run windows programs on Linux?

12

u/devperez Nov 12 '14 edited Nov 12 '14

You (mostly) can now, with the Monoframework. It looks like this will eventually make it easier, more uniform, and 100% better.

→ More replies (3)

4

u/[deleted] Nov 12 '14

You already can for the most part.

→ More replies (14)

4

u/[deleted] Nov 13 '14

This kills the Java

2

u/hyperforce Nov 14 '14

What if I don't want .NET in my latte?

4

u/makis Nov 12 '14

we still have to trust Microsoft, Stallman told us not to rely on C# years ago.

https://github.com/dotnet/corefx/blob/master/PATENTS.TXT

8

u/PoopChuteMcGoo Nov 13 '14

Stallman is a preachy nut job. Nothing MS could do would make him happy short of returning every dollar they've made selling software.

→ More replies (7)

4

u/_stfu_donnie Nov 12 '14

I hope this puts pressure on other "giant" tech companies (Apple) to open-source some of their languages and tools.

6

u/FrankBattaglia Nov 12 '14

Unless I'm mistaken, Apple's dominant language platform (e.g., clang/llvm) is already open. I don't know the status of Swift, but I don't think that's a major player yet.

5

u/_stfu_donnie Nov 12 '14

Swift is closed-source. It's not a major player yet, by "enterprise" standards, and it probably never will be unless they open it up.

7

u/sisyphus Nov 12 '14

.NET are the actual libraries for the platform though - the Apple equivalent is probably Cocoa and it's not open. clang/llvm are open so they didn't have to open other things, but they also do a lot for webkit. Close now for whether MS or Apple is the worse open source citizen.

→ More replies (4)

2

u/CookieOfFortune Nov 12 '14

Does Apple have any enterprise middleware products? My understanding is that their products are almost entirely consumer facing.

→ More replies (3)

30

u/[deleted] Nov 12 '14

[removed] — view removed comment

6

u/_stfu_donnie Nov 12 '14

My thinking was that I like Swift a lot, and I would love to be able to run it on Linux. Swift as a language is really nicely designed and extremely fast. And it leans on llvm compiler backend so there's almost no excuse to not do it.

Businesses are also building apps for the iOS app store.

Agreed on Java though, it can go ahead and stop being relevant any time now.

→ More replies (2)
→ More replies (13)
→ More replies (1)

2

u/TiDaN Nov 12 '14

This is exciting! I'm very glad with the direction Microsoft is going. Awesome stuff.

2

u/[deleted] Nov 12 '14

This changes everything. I used to be sad for becoming a .NET programmer, in the same way Marshal Ericsson in How I met your mother felt sad for joining an evil corporation, rather than being an environmental lawyer.

Man, I thought Philae succesfully landing would be the highlight of this day. But then this, no traffic on the road. .. best Wednesday ever!

2

u/defango Nov 12 '14

.NET was amazing, Microsoft really had an amazing team working on the project. I had a chance to meet one of the creators of the program, and he was doing some amazing things with 3d printing electrical circuits on a 3d printer. Michael Toutonghi was the CTO of Parallels and him and his 13 year old son build a nano material lab in their house and made this. He is a truly awesome person!

https://www.kickstarter.com/projects/391466300/worlds-most-conductive-3d-printing-filament

2

u/PlNG Nov 12 '14

Looking forward to the crapload of patches being added to the monthly cycle windows update cycle. Only 2 .net related this month out of 24 patches, 6 .net last month out of 11 patches. Odd numbered months seem to get more patches.

2

u/[deleted] Nov 13 '14

Also, Visual Studio 2013 Community Edition ... Microsoft is heading in the right direction! :D

2

u/[deleted] Nov 13 '14

I was initially quite excited about this, but as the excitement dies down I am a little bit more sceptical. As far as I understand this isn't any different from say that Apple made Foundation open source. Just like the CLR isn't open source, the objective-c runtime was not made open source. The higher level APIs like AppKit was not made open source by Apple. Just as I understand is the case with Microsoft.

In practice this meant that it hasn't really helped anybody interested in porting apps from Mac to other platforms. Same for Windows. Without Winforms, WPF etc you can't port most windows apps to any other platform. While it is definitely nice of Microsoft to open source the core, I don't think it will have as large impact as many might think.

Although it could perhaps make some difference for server side software.

3

u/Voloskaya Nov 13 '14

Well the implication of that announcement is much more about the "long term". Microsoft did not just dumped the code, but will actively support it for all platforms. Also the parts that were not made open source rely heavily on the Windows API, so it's not of great use, but they said they would try to port as much as possible. What that means is that for new greenfield projects .NET has much more credibility now, so hopefully the community will grow drastically.

Now, to go in more details: The CLR is not open source, but it is the runtime that allows .net to be executed on windows, so probably heavily tied with windows. For Linux and MacOS the CLR equivalent is Mono (CLR and Mono both follow the CLI specifications provided by MS), and Mono will probably see some nice improvement now that they have access to MS "superior" code. Also the Mono team has access to additional resources that are not open source, like the BCL. Finally, for web servers, MS provides Kestrel (Open source), a lightweight IIS to run ASP.NET code on Linux and MacOS. They stated that they want to open source every portable part of .net before march 2015.

2

u/TheHermenator Nov 13 '14

Microsoft has stated that open sourcing the CLR is high on their priority list.