2

I wanna see what F# is about, especially now that I am better at FP&Lip. But the Microsoft thing really puts me off. I'm on Linux, I can't use CLR, I don't wanna make a WPF application or whatever


so why would I use F#?

top 7 comments
sorted by: hot top controversial new old
[-] DrDeadCrash@programming.dev 10 points 4 months ago* (last edited 4 months ago)

https://fsharp.org/

You've made some incorrect statements and assumptions. The old .net framework was/is Windows only but the new(er) dotnet Core is cross platform, you can use the clr on Linux no prob.

[-] starman@programming.dev 10 points 4 months ago* (last edited 4 months ago)

It's worth noting that Microsoft have dropped the Core thing and now it's only .NET + number (8 is the latest for now)

[-] Ephera@lemmy.ml 10 points 4 months ago* (last edited 4 months ago)

To my knowledge, it's just an FP language which can make use of Microsoft's .NET ecosystem, like Scala and Clojure can make use of the JVM ecosystem...

[-] ericjmorey@programming.dev 2 points 4 months ago

It's Microsoft's OCaml. Its design is focused on the functional paradigm but also facilitates a imperative paradigm as a secondary focus in the design.

[-] Lmaydev@programming.dev 2 points 4 months ago* (last edited 4 months ago)

.net core and .net 5+ runtimes are cross platform and open source. You can use them anywhere.

You're thinking of .net framework which is windows only and considered legacy.

[-] starman@programming.dev 2 points 4 months ago* (last edited 4 months ago)

If you are looking for things you can make with F#, here are some popular use cases:

  • console apps
  • backend (Saturn, Giraffe)
  • frontend websites (Fable - JavaScript transpiler)
  • fullstack (SAFE Stack)
[-] DrDeadCrash@programming.dev 1 points 4 months ago* (last edited 4 months ago)
this post was submitted on 12 Feb 2024
2 points (62.5% liked)

Functional Programming

1339 readers
1 users here now

founded 1 year ago
MODERATORS