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...
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!
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.