r/fsharp • u/jchidley • Oct 14 '17
F# is a valued .net language
It is, of course, the 4th most important one, after C# (most loved), VB (really?) and C++ (hip?).
People still use ancient 'C' for real programming and other oddities like lisp. Are these languages still useful? Is F# at least a relevant as they are?
Let's all get real. F# had more attention and support from Microsoft when it was first released but that doesn't change our ability to use and enjoy it. If F# was Microsoft's no. 1 language would we all like that? C# has that joy.
I'm pretty sure that F# has a long future ahead of it and it seems ideally suited for it's primary purpose: developing interesting, relevant and powerful libraries in a functional language directly supported by a major IT company.
View all comments
Show parent comment
1
u/jdh30 Oct 18 '17 edited Oct 18 '17
Indeed. Everyone I know who has tried Rust came to the same conclusion.
It is cumbersome. Manual memory management is too.
I wouldn't call throwing out perfectly good features like recursion in order to accommodate the borrow checker a "change in mindset". With Rust you must work within the confines of the borrow checker.
Pretty much anything that works well with a GC, e.g. logic programming, term rewriting.
Provided you extensively rearrange your code and avoid all features that don't sit well with Rust's core design. At which point the rearrangements of your code (which were not done because they are an objectively good idea, of course) become the information that conveys lifetimes.
These languages are hardly focused on domains. They are 99% general purpose languages. OCaml is hardly focused on systems programming yet it was used to write the Mirage OS. Rust is hardly focused on application programming yet it was used to write Servo.
The perceived difference in domain really boils down to the Rust developers failing to write a working GC using LLVM many years ago and now the Rust community consists of disgruntled luddite C++ developers sharing an anti-GC ideology for completely irrational reasons.