←back to thread

Why F#?

(batsov.com)
438 points bozhidar | 1 comments | | HN request time: 0.212s | source
Show context
BenGosub ◴[] No.43548786[source]
Two nice things about F# are that you can introduce it into an organisation using the dotnet ecosystem and that you can use all libraries in dotnet, which is a huge advantage over OCaml.

Otherwise, I am happy with OCaml, but F# has also a place in this world.

replies(1): >>43554144 #
UlisesAC4 ◴[] No.43554144[source]
You can use adapters via Foreign Function Interface and interact with C++ code. The deal breaker is that memory is separated, C++ code has its own heap and Ocaml too. Quiet different to F# in which operating with C# is seamless and the runtime is the same.
replies(1): >>43556192 #
1. DeathArrow ◴[] No.43556192[source]
You can call C++ code from F#, too.