Announcing the F# 3.1 Compiler/Library Code Drop
11–16 of 16 posts
Re: Announcing the F# 3.1 Compiler/Library Code Drop
#12On Linux making a standalone binary is surprisingly easy: $ fsharpc file.fs # can run the generated file.exe via mono at this point $ mkbundle --static file.exe -o file Now ./file is a statically compiled binary. Easy deployment.
You can always leave the --static flag off, but then your binaries will require the Mono run-time to be installed.
Re: Announcing the F# 3.1 Compiler/Library Code Drop
#13Earlier quoted context omitted.
I was interested in the language, but was put off by the .NET connection for using on linux. Is F# running on mono on linux comparable, performance-wise, with the windows stack?
Mono is generally slower, with a few exceptions. It's not "slow" though - maybe half the performance of the CLR? I'm not sure where it stands after v3, which includes a proper GC. Mono also has an LLVM option which increases startup times, but provides a ~30% bonus at runtime.
Depending on what you're doing, the performance difference might not matter in practice. Mono's (historically, at least) done worse with super OO-y code because of its poorer GC performance, but oftentimes that kind of code also ends up appearing in applications where overall performance is dominated by I/O and CPU efficiency ends up being negligible.
Re: Announcing the F# 3.1 Compiler/Library Code Drop
#14Re: Announcing the F# 3.1 Compiler/Library Code Drop
#15Grrr. Why won't Microsoft open the CLR? It's so fast and has such amazing codegen! I don't want performance to degrade moving from Windows to some platform that requires I run mono!
Re: Announcing the F# 3.1 Compiler/Library Code Drop
#16Grrr. Why won't Microsoft open the CLR? It's so fast and has such amazing codegen! I don't want performance to degrade moving from Windows to some platform that requires I run mono!