Live data from Hacker News

Microsoft Launches Its .NET Distribution for Linux and Mac

techcrunch.com

131–140 of 249 posts

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

#131
post #67

Earlier quoted context omitted.

Only core components and now a stripped down IDE are open source (core is actually free software IIRC). I will only be impressed if the entire runtime stack becomes open source. Otherwise it's still a platform for DRM or other forms of lockdown. If you're not porting a .net application to MAC or Linux, I would avoid this for quite a while still. We don't know where this is going long term.

The entire runtime stack is open source. https://github.com/dotnet/corefx https://github.com/dotnet/coreclr

Right. Core. No Windows forms, so the only app I ever wrote for it will not work yet.

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

#132

Oh hey the CLR finally achieved platform independence. Which is great because it is great.

Yes. FreeBSD and OSX support was done 100% by the open-source community w/ support from MSFT whom helped a little bit with domain knowledge (the CLR product managers and developers can be found in the Gitter room)

See https://news.ycombinator.com/item?id=9431368 w/ Microsoft .NET CoreCLR is now running on FreeBSD 10.1 (amd64)

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

#134
post #102

My first question was "So how do I build "Hello World"? For anyone else wondering that, go to https://github.com/dotnet/coreclr/blob/master/Documentation/... .

1) ghuntley@freebsd-frankfurt:~/coreclr-master % ./build.sh

2) ghuntley@freebsd-frankfurt:~/coreclr-master % cp bin/Product/FreeBSD.x64.Debug/corerun ~/coreclr-demo/runtime

3) ghuntley@freebsd-frankfurt:~/coreclr-master % cp bin/Product/FreeBSD.x64.Debug/libcoreclr*.so ~/coreclr-demo/runtime

4) ghuntley@freebsd-frankfurt:~/coreclr-master % cd ~/coreclr-demo/runtime

5) ghuntley@freebsd-frankfurt:~/coreclr-demo/runtime % ./corerun HelloWorld.exe freebsd

Hello, FreeBSD...

			       ,        ,
			      /(        )`
			      \ \___   / |
			      /- _  `-/  '
			     (/\/ \ \   /\
			     / /   | `    \
			     O O   ) /    |
			     `-^--'`
See also https://github.com/dotnet/corefxlab/commit/a39310b028ad830f8... - "HelloWorld: Pimp up the FreeBSD daemon to have colors. Basically pay full respects to the original console screen-saver."

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

#135
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…

Did you just invent a term? "Pop-Functional"... I like it!

Starts singing

make my func the p-func / I want my func uncut...

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

#136
post #101

I'm curious, is there enough released yet to build server-side web apps? Would there be an apache mod, or some other web server? Or is there something more akin to a node app? I really enjoy C#, but everything that I did was either a Windows-only desktop app or a web app served through IIS. Thanks for any insight.

Yes, you can do this now. https://github.com/aspnet/Home/tree/dev/samples/latest/Hello... Follow instructions here: https://github.com/aspnet/home This can also be done with mono, fastcgi, and nginx. http://www.mono-project.com/docs/web/fastcgi/nginx/

Excellent, thank you!

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

#138
post #102

My first question was "So how do I build "Hello World"? For anyone else wondering that, go to https://github.com/dotnet/coreclr/blob/master/Documentation/... .

For those of you who want to save the click: you need to build half the stuff on a windows machine and the copy it over - and you need mono to fetch the dependencies(!).

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

#139
post #6

Am I the only one bothered that they didn't include the space between the "OS" and the "X"? More importantly, this is huge, but as a Linux developer/user I still have no desire to use .NET on my platform. Maybe Mono has scarred my permanently.

Also linux developer/user and I'd crawl over broken glass to have a reliable C# runtime on Linux, it's my absolute favorite language.

I'm really looking forward to F# being really easily used cross-platform. I'm happy for C#, but I'll swoon for F#.

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

#140

Earlier quoted context omitted.

Did you just invent a term? "Pop-Functional"... I like it!

Starts singing make my func the p-func / I want my func uncut...

and i even hear marilyn manson doing a dirty version of it.

"tainted func"

Post reply on HN