Live data from Hacker News

Microsoft Launches Its .NET Distribution for Linux and Mac

techcrunch.com

191–200 of 249 posts

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#191
post #48
post #28

F# is a real breath of fresh air in comparison to something like Scala. It's direct ML heritage really shows, also just diving in with an IDE (like Xamarin, or I suppose Visual Studio) is super easy. I see it as the future of pop-functional programming. For example look at the way it handles type inference w/ JSON parsing. Compare that to what you have to do to parse JSON in Scala. It's subtle, but a major usability…

I did a toy comparison of ML-derived languages running on Linux the other day ( http://thebreakfastpost.com/2015/04/22/four-mls-and-a-python... ) and found F# already simple to get along with and fast to run, at this beginner level. It could become a really interesting option.

Good writeup. I posted it to HN: https://news.ycombinator.com/item?id=9463254.

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#192
post #31

This is interesting but is there any commitment to support it long term? I remember when Silverlight was supposed to be the savior that brought .NET to Mac and Linux, but that didn't last more than 5 years. Would be nice for MS to say they guarantee support for 10, 15, etc. years.

This is the thing with Microsoft is this is never in doubt. It is Google who ends of life's things and stops support. Microsoft still has supports things in Windows 8.1 that were BUGS in MS-DOS in order to allow programs from that era to run. Microsoft will support .NetCore for at least 20 years. Without doubt.

>Microsoft will support .NetCore for at least 20 years. Without doubt.

On Windows for sure. Not on *nix though.

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#193

Yes! Finally we can use .NET on on Linux a supported official way.

What are the major projects that are built in Mono? I only know opensimulator.

I don't know about any major project. I was waiting for MS to commit to running CLR on Linux (or any unix like clone) so that I can consider the CLR languages seriously (I am very interested in F# in particular).

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#194

Earlier quoted context omitted.

This is the thing with Microsoft is this is never in doubt. It is Google who ends of life's things and stops support. Microsoft still has supports things in Windows 8.1 that were BUGS in MS-DOS in order to allow programs from that era to run. Microsoft will support .NetCore for at least 20 years. Without doubt.

>Microsoft will support .NetCore for at least 20 years. Without doubt. On Windows for sure. Not on *nix though.

I think they will. I think we're slowly moving to a post-Windows Microsoft world and MS is taking a leap to be a big part of that through tools.

I do not think Windows will be a thing in 2025.

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#195

Earlier quoted context omitted.

Wow yes, apt-get install dotnet anyone? Should Microsoft provide a few common platform install methods?

It would be hilarious if it became easier to install .NET on Linux than it is to install Java.

That's not a very high bar.

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#196
Was able to build it and run the HelloWorld.cs example. You need to build coreclr and corefx on windows for the managed components, since only the core cpp source can be built on linux at this time. You also need to install mono and grab nuget and use it to fetch a few packages. But all in all it feels fairly historic.

http://i.imgur.com/XyCB3uA.png

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#198

Was able to build it and run the HelloWorld.cs example. You need to build coreclr and corefx on windows for the managed components, since only the core cpp source can be built on linux at this time. You also need to install mono and grab nuget and use it to fetch a few packages. But all in all it feels fairly historic. http://i.imgur.com/XyCB3uA.png

.NET Core team member here.

I'm glad that you were able to make it all work with the instructions[1] we provided. There are two major pieces that we're still working on, which you call out:

- Compiling managed source on OS X and Linux with Roslyn.

- Running DNU (NuGet) on .NET Core to restore packages.

Most everything else functionaly works. Once those are solved (and we are close to it), the experience will be great. In just a few commands, you'll be able to acquire .NET Core, restore packages and run your app, independent of which OS you are on.

For .NET developers, it is indeed historic. Community and corporate developers alike are quite excited and see a lot of new opportunities going forward. You might have noticed that the community is leading the OS X and FreeBSD .NET ports, with support from Microsoft. We added official FreeBSD CI[2] only a week ago, upon the request of the community.

[1] https://github.com/dotnet/coreclr/blob/master/Documentation/...

[2] https://github.com/dotnet/coreclr#build-status

edit: formatting

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#199

Was able to build it and run the HelloWorld.cs example. You need to build coreclr and corefx on windows for the managed components, since only the core cpp source can be built on linux at this time. You also need to install mono and grab nuget and use it to fetch a few packages. But all in all it feels fairly historic. http://i.imgur.com/XyCB3uA.png

.NET Core team member here. I'm glad that you were able to make it all work with the instructions[1] we provided. There are two major pieces that we're still working on, which you call out: - Compiling managed source on OS X and Linux with Roslyn. - Running DNU (NuGet) on .NET Core to restore packages. Most everything else functionaly works. Once those are solved (and we are close to it), the experience will be great…

Thanks for chiming in. Really looking forward to further developments. As a 15 year+ Windows development veteran whose been doing python on Ubuntu for 3 years it's great to be playing with .NET again. As far as the HelloWorld instructions go, they worked very well, so kudos on that. I think it's super important for developers to be able to jump in and check it out. I also should have mentioned that I used docker's ubuntu:14.04 image as a launch pad for this exercise, and it worked great as well.

Re: Microsoft Launches Its .NET Distribution for Linux and Mac

#200
post #180

Earlier quoted context omitted.

Scala is getting really interesting lately though with projects like Spark and SparkSQL. Spark takes a Scala AST tree and computes a plan on it in order to distribute it to a cluster of possibly thousands of nodes and then uses transformations on that plan, similar to how an SQL query optimizer works, to make the plan more efficient. The cluster compute benchmarks on it are crazy good. The only problem I have with Sc…

Would there be a F# equivalent to that Scala/Spark thing?

I'm not in the know here, but maybe M-Brace is vaguely similar. Unsure about the optimization part. http://www.m-brace.net/
Post reply on HN