News for hackers. Stuff that matters.
Re:Why you should learn F# by AdeptusAquinas on Tuesday December 18, 2018 @06:56PM (#18711756)
Its part of dotnet core, so you don't need Mono installed. And you can build a self-contained dotnet core application so you don't need core installed to run it.

AOT is possible via something like CoreRT, but its still a bit beta and not straightforward. From my experience the only limitation with CoreRT and F# is certain reflection heavy functionality. No problem with generics.

Re:Why you should learn F# by atombender on Tuesday December 18, 2018 @07:34PM (#18711968)
Well, if not Mono, then the .NET Core runtime package, right? It's not self-contained. I read this [1], but it's unclear to me how I build a self-contained binary, or what options are available for AOT.

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

Re:Why you should learn F# by chusk3 on Tuesday December 18, 2018 @08:11PM (#18712169)
If you build with 'msbuild publish -r debian8.x64' or any of the other valid 'runtime identifiers', the output of the build is an xcooy-deployable folder that contains your binary and all it's dependencies including the runtime. I use this at work to make Debian packages that are standalone.
Re:Why you should learn F# by algorithmsRcool on Tuesday December 18, 2018 @08:34PM (#18712299)
The command you are thinking of is probably `dotnet publish -r debian.8-x64`
Re:Why you should learn F# by atombender on Tuesday December 18, 2018 @08:15PM (#18712200)
Cool, thanks!