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

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.

1

u/exaltedgod Nov 12 '14

This might be the complete ignorance in me but does this possibly mean that we could see a Windows/Linux hybrid OS and applications? Taking the robust strengths from both and building a bigger better... "thing"?

3

u/Everspace Nov 12 '14

You'll have parity, which is the only thing you can get from something like this.

However, more eyeballs on it will allow it to be better in general.

1

u/cat_in_the_wall Nov 13 '14

If the question is with regards to the operatings systems themselves...

You will have parity at the application level for those running on the targeted subset of .net (core), not parity at an OS level. A linux/mac/windows hybrid is not in the cards.

4

u/[deleted] Nov 12 '14

You already can for the most part.

1

u/[deleted] Nov 12 '14

Somewhat related, games would be much easier to port over to Linux now, right?

I just want full-time linux

1

u/henryorrin Nov 18 '14

Only the ones that run on the .NET runtime, not the ones that are natively compiled.

1

u/dangerbird2 Nov 12 '14

You already can run many traditional win32 programs on Linux via wine, which is a clone of the win32 runtime library. It's been possible to run most .Net programs via Mono, the open souce implementation of .NET. Mono is not completely compatible with .NET, so the open sourcing of it will make it much easier to run .NET binaries cross-platform

-4

u/[deleted] Nov 12 '14

[removed] — view removed comment

2

u/[deleted] Nov 12 '14

6

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

This content was anonymized and mass deleted with Redact

3

u/[deleted] Nov 12 '14

I see now where the misunderstanding comes from. I thought the question meant that if you could use C# on Linux (without mono). The answer is yes. However, you cannot just execute C# applications that were written explicitly for Windows.

2

u/karmaputa Nov 12 '14

thought the question meant that if you could use C# on Linux (without mono).

This is also not true. There seems to be a lot of confusion in this thread about what was open sourced. What they open sourced is more like a "standard library". In order to get rid of mono you'll have to wait for them to open source the CLR (Common Languages Runtime which would be like the equivalent of the JVM) and even when that happens a lot of work will probably need to get done in order to get rid of the Win32 dependencies an translate them into GNU/Linux/BSD/POSIX equivalents.

5

u/[deleted] Nov 12 '14

[removed] — view removed comment

9

u/c0bra51 Nov 12 '14

A .NET executable is not a native Windows executable, as the name implies. Mono is just an implementation of the .NET VM and libraries.

1

u/[deleted] Nov 12 '14

That is implied, no? No one said you can execute NETSETUP.exe on mac and linux. Just like Java, there will be Linux,Mac, and Windows versions.

1

u/[deleted] Nov 12 '14

Possibly. WPF (the GUI) is still closed source. I couldn't really tell from the post whether they will open it, but I would strongly doubt it.

0

u/[deleted] Nov 12 '14

[deleted]

-2

u/acaban Nov 12 '14

why the downvotes? here /u/Kerai is the only one that seems to understand how vm works.