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…
Microsoft Launches Its .NET Distribution for Linux and Mac
151–160 of 249 posts
Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#152Earlier quoted context omitted.
You would think something like OCaml would fill in that niche with its wider availability.
There's a very cool implementation of (multi-threaded!) OCaml for the JVM: http://www.ocamljava.org/
Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#153Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#154Earlier quoted context omitted.
Silverlight is still supported by Microsoft - https://support.microsoft.com/en-us/lifecycle?c2=12905
I have the largest cable provider in the country and when I click "watch TV on my laptop" it launches Silverlight. (It sucks, by the way). But people pretending the thing isn't used and isn't supported are really grasping at straws here. If you're going to bring a plastic knife to a watergun fight, at least point it in the right direction... You know who didn't (and does not) support Silverlight? Developers! We moved…
Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#155Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#156Yes! Finally we can use .NET on on Linux a supported official way.
Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#157My 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
#158F# 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…
case class Fruit(name: String, variants: Set[String])
val fruitJson =
Json.parse(
"""{
"name": "apple",
"variants": ["cox", "braeburn"]
}""")
val fruit = fruitJson.as[Fruit]
Doesn't seem to be too painful to me.I agree that F# is syntactically closer to ML (though Scala is closer to ML with its module system which F# gave up completely).
Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#159I see a pattern here. People were excited about JVM, then came along CLR. And it is now getting attention as MS is porting it to Linux/OSX. Next cool thing will be BEAM (Erlang's VM) based languages, i.e. Elixir, Lisp Flavored Erlang etc. Reminds me of the hype cycle. So lets get hyped!
Re: Microsoft Launches Its .NET Distribution for Linux and Mac
#160Earlier 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.
They may still support it, but it can be a technological dead-end. Just like Silverlight.