←back to thread

Why F#?

(batsov.com)
438 points bozhidar | 5 comments | | HN request time: 0.001s | source
Show context
loxs ◴[] No.43547130[source]
I tried F# some years back when I was searching for a language to port my OCaml project in... It felt too much .NET-y and too much MicroSoft-y. And back then .net for linux had just been released and was somewhat unpolished.

It seemed that I had to learn C# in order to use F# properly and it seemed that porting it to C# was the saner option. I went with Rust after all and it seems to have been the right choice.

replies(2): >>43548583 #>>43558068 #
1. airstrike ◴[] No.43548583[source]
This rings true to me as well. I'm not sure what I get out of F# that I can't get from Rust, unless you specifically want .NET, which I don't.
replies(2): >>43555145 #>>43557637 #
2. UK-Al05 ◴[] No.43555145[source]
Less arduous memory management.
replies(1): >>43556195 #
3. airstrike ◴[] No.43556195[source]
I am not sure what you mean. My memory management for a recent 30k LOC app boils down to "thinking before cloning"
4. DeathArrow ◴[] No.43557637[source]
You get speed of development, productivity, lots of libraries. You get something that is easy to learn and understand.
replies(1): >>43557782 #
5. airstrike ◴[] No.43557782[source]
Lots of libraries if you want .NET, right? But if you don't, Rust has way more libraries

Speed of development is debatable. I think you can be pretty fast with both.

Easy to learn I concede but it gets easier with time, until it becomes very easy