I
I
Itvanya2015-07-26 02:18:01
linux
Itvanya, 2015-07-26 02:18:01

Will we see C# on Linux?

Guys, hello everyone!
Here I sit and think, impressed by xamarin : if C# were fully ported to Linux systems and it would be possible to deploy a server from it, then the need for Java (only because of cross-platform) would disappear altogether: everyone would write in chic C# under . NET for Enterprise.
What do you think? C# with .NET fits perfectly into the role of some kind of replacement for Java, which everyone is already tired of.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
dordzhiev, 2015-07-26
@dordzhiev

In short, there are two main implementations of the CLR and BCL under Linux: Mono and .NET Core.
With Mono, everything is clear, a third-party implementation led by Miguel de Icaza (one of the founders of GNOME). Mono has already recovered from her childhood illnesses, and is doing her job very well. Moreover, with the open source of .NET, developers are gradually replacing their code to be more compatible with the MS implementation.
But not so long ago, Microsoft announced the development of its own implementation called .NET Core. Roughly speaking, this is the usual CLR (CoreCLR) and a stripped-down BCL (CoreFx), but it does not require installation and is open source. And most importantly - cross-platform. It is officially ported to Linux and Mac OS X, but developers are happy to accept pull requests, so FreeBSD support is gradually being made by third-party developers.
In parallel with this, ASP.NET 5 and EF7 are being developed, which will also work on .NET Core. So yes, soon ASP.NET and console applications will feel good on Linux and other operating systems.
Moreover, Microsoft recently announced the start of work on LLILC - an IL -> IR compiler, which will allow .NET applications to use LLVM instead of CLR. What will it give? More supported platforms, .NET applications will be able to run on all architectures supported by LLVM.
Want to know how things are going? Follow the github: .NET Core and ASP.NET . Both projects accept pull requests, so you can always help the projects.

S
Sergey, 2015-07-26
Protko @Fesor

www.mono-project.com
what else do you need? Dudes from small software actively contribute there, open servers (gradually, this is a rather long process given the scale of the product), vnext seems to have even committed to testing under mono.

M
Maxim Moseychuk, 2015-07-26
@fshp

With your approach, you can also argue that the need for C # has disappeared with the advent of Scala.
Well, C# appeared on Linux only a couple of years later than on Windows. And not just console software. Forms under Linux on C# are quite riveting.
Why is there still (maybe there is, but not common) C # + Linux in the enterprise? Because the entire .NET enterprise is based primarily on ASP.NET, which is a proprietary, closed source hack. But recently MS has discovered a lot of things related to .NET. So very soon, wait (or help, pull requests are accepted).

S
Saboteur, 2015-07-26
@saboteur_kiev

Java has MANY YEARS of cross-platform experience. And you need to remember that this is not only Linux and Windows.
We may see C# on Linux (MS seems to be starting to think about development directions), but so far no one has bothered Java.

P
Puma Thailand, 2015-07-26
@opium

I think you should look at Java 8 with its innovations

A
Andrey Shishkin, 2016-05-29
@compiler

What do you have against Java?
You should not drag your personal ambitions to "everyone".
I can say the same thing about Sharp - I'm tired of everyone, I don't see the point in it at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question