3 ms·
OK, I'm curious now. Wikipedia says[1] the reference implementation is open-source and cross-platform, which is great, but I never hear of anyone talking about
by graue 14y ago
OK, I'm curious now. Wikipedia says[1] the reference implementation is open-source and cross-platform, which is great, but I never hear of anyone talking about F# outside the Microsoft world.
The compiler has to be compiled from source[2] on Ubuntu, which seems to suggest hardly anyone is using it.
Would there be any compelling reason to use F# if you're not working in a primarily Microsoft environment? What does the language itself offer over Ocaml or Haskell?
[1]: https://en.wikipedia.org/wiki/F_Sharp_%28programming_language%29 https://en.wikipedia.org/wiki/F_Sharp_%28programming_languag...
[2]: https://fsxplat.codeplex.com/wikipage?title=FSharpLinux https://fsxplat.codeplex.com/wikipage?title=FSharpLinux
- stonemetal 14y agoFrom what I understand F# works on mono and the F# MS team actually puts in effort to make sure it does. Though for whatever reason mono just isn't that good at running F# code. Maybe it is a weak GC or lack of ability to optimize the code patterns F# produces, I don't know. It is slower than F# on CLR. Given that, library access and ability to thread are the two big things it is going to have over Ocaml. Cleaner syntax when compared to Ocaml too. Haskell, not much.
- pjmlp 14y agoThe GC was not that great, but the new S-Gen is quite comparable to the CLR one.
- pjmlp 14y agoIf you're not on a Microsoft shop, then I think OCaml or Haskell might be a better option. Queries and type providers are nice features of F# 3.0, but not sure how much it would matter as feature.