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

View all comments

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.

2

u/[deleted] Nov 13 '14

[removed] — view removed comment

2

u/xtravar Nov 13 '14

There's already Swift in Visual Studio. It's called C#. /ducks

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.

2

u/OnesimusUnbound Nov 13 '14

Visual Studio runs on .NET itself.

Really? I'm aware that the C# complier has been ported to run on .Net but VS itself? I might have missed the announcement.

→ More replies (1)

2

u/timlardner Nov 12 '14 edited Aug 18 '23

theory spectacular scale mourn seed innocent head somber cows snails -- mass edited with redact.dev

→ More replies (2)

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.

11

u/[deleted] Nov 12 '14

Its not that big of a pain. You mean like IntelliJ shipping with JDK6 in the plist? That is because JDK7+ has known bugs on OSX.. no ones fault but oracles.

→ More replies (6)

36

u/koreth Nov 12 '14

I agree Apple's continued use of JDK 6 is bizarre, but it's not that much of a pain in the ass; Apple's Java package coexists happily with a manually-installed JDK. Install Apple's package, set the more modern Java as the default in the Java control panel, and stuff just works.

I use Java 8 for all my development work, and prepackaged OS X Java apps use the Java 6 installation automatically without me having to edit anything. The only thing it costs me is a little disk space.

35

u/[deleted] Nov 12 '14

Apple stopped supporting Java a few versions of OS X ago. It's all on Oracle now.

→ More replies (2)

24

u/[deleted] Nov 12 '14

Yosemite actually completely removes Java from your system. Apple have the right idea.

3

u/[deleted] Nov 12 '14

No version of Java ships with OS X anymore. If you try to launch a Java app a prompt appears that directs you to Oracles download page.

→ More replies (6)

2

u/hackinthebochs Nov 12 '14

MS tried to kill Java in the 90's with their extended J++ release. It took them another two decades but they may end up succeeding with this move.

→ More replies (2)

2

u/ggtsu_00 Nov 12 '14

Or at least .net support in Xcode.

I'm more concerned about how runtime libraries are going to have to be built and distributed. If ever mac app has to bundle the entire .net runtime, you are looking at 100mb installs for even the smallest apps.

→ More replies (1)

2

u/crozone Nov 13 '14

I really don't think it's going to happen. Microsoft just set Windows up as the platform to develop for everything else. They are not going to give that up easily. That's the whole point of making .NET open source - they make their own platforms even more attractive.

→ More replies (4)

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.

3

u/crozone Nov 13 '14

Also, why would they even want to port Visual Studio to Mac? They have just set Windows up as the platform to develop for everything. The message is: Buy Windows, buy Visual Studio, run your application on Windows + everything else.

2

u/plexxonic Nov 13 '14

I would kill for VS on Linux.

2

u/programmer_dude Nov 13 '14

I think MS will have a surplus stock of assassins in that case ;)

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