F# 10

(devblogs.microsoft.com)

103 points by tosh5 days ago

3 comments

  • olivia-banks2 hours ago
    I use OCaml, occasionally, especially for data&#x2F;transpiler work. I&#x27;ve always wanted to try F#, but it being .NET sort of scares me away. I&#x27;ve always sort of admired the pragmatic beauty of the OCaml ecosystem--at least as much as one can call an ML-derivative &#x27;pragmatic&#x27;--though I don&#x27;t get that same feeling from F#.<p>Task expressions look neat though, and might give me a reason to try.
    • sieep2 hours ago
      .NET is really good nowadays &amp; does well cross platform, absolutely worth trying.
      • olivia-banks2 hours ago
        I have to use it (C#) for a required class in college, and I&#x27;ve been pleasantly surprised. I&#x27;m always a little suspicious of platforms backed by large companies, but I think at this point that&#x27;s sorta an unavoidable reality.
        • sieep1 hour ago
          Luckily .NET, the compiler, and such are open source now so Microsoft really just handles the big picture stuff. Its got great performance and the new .NET 10 might be my favorite backend runtime ever created.
      • mulmen2 hours ago
        Is it fully open source so it can survive being abandoned by Microsoft?
        • sieep1 hour ago
          From my understanding, .NET, C# F# are all open source. The main thing in the tool chain that isnt is Visual Studio but most people can get by with VS Code
          • adabyron1 hour ago
            Highly recommend using JetBrains Rider instead if you want the best IDE experience. It&#x27;s not a Microsoft product &amp; is used by a large percentage of .NET devs.
        • HeavyStorm53 minutes ago
          Yes.
    • ibejoeb2 hours ago
      It&#x27;s a very practical ML-family language. It runs on Mac, Windows, and Linux. It doesn&#x27;t really sacrifice anything, either. The last thing I delivered with it was a network health utility, which did UDP and TCP sockets and platform API calls very cleanly. It&#x27;s really not a toy language. Distribution is cool too, because you can build for a system with the runtime installed or build a single-file executable. My suggestion: build a utility program with it for your own purposes and if you&#x27;re productive with it.
  • nozzlegear3 hours ago
    I use F# every day, both in my open source and professional work. Love seeing the language continue to improve without going off the rails! I&#x27;m looking forward to using the &quot;and!&quot; computations in this release in particular (though I swear they&#x27;d already been released).<p>Edit: oh this post is from November! That&#x27;s why I thought I&#x27;d read about those computations before.
    • r2ob3 hours ago
      What kind of problem made you pick up F#? it seems pretty cool
      • nozzlegear2 hours ago
        It&#x27;s been ages since I started using it, but I don&#x27;t think it was any problem in particular. I think I just happened to watch a video by Scott Wlaschin one day and was intrigued by the weird language and the things he was doing with the type system, having only been familiar with object oriented programming at that point in my life. I kept coming back to it and eventually it became my bread and butter.<p>What I like most about it is the type system (discriminated unions, etc.). It&#x27;s really powerful and intuitive, without letting me go overboard &quot;big braining&quot; the perfect type for every situation like I tend to do with e.g. typescript or haskell. F# is also great because we can access the full dotnet runtime and nuget ecosystem. I have several projects where I mix C# and F#, and they&#x27;re perfectly compatible.
        • r2ob2 hours ago
          Nice!
  • bairymr2 hours ago
    I wish SML had a community like F#