The only thing missing from F# is an Elixir/Erlang/OTP-like process system (`MailboxProcessor` is pretty good though), but then again, every language except Elixir/Erlang/OTP is missing that.
Love the language though I have spent only a week working with it. It seems to have a lot of things I liked in Kotlin.
https://fsharp.github.io/fsharp-core-docs/reference/fsharp-c...
https://fsharpforfunandprofit.com/posts/concurrency-actor-mo...
I haven't looked at Orleans in a while. Last time I did, I came away with the viewpoint that it was very much designed to have a C# interface, which while manageable in F#, doesn't really provide for an idiomatic F# experience. I'm also not too sure, but I think it basically requires a cloud or distributed environment. Can it just be run on a local computer?
But even the `MailboxProcessor` doesn't do what Elixir and Erlang do on top of the BEAM VM. An instance of a BEAM VM is a single OS process, but the BEAM can handle millions of Erlang processes, which are not OS processes or even threads. They are their own thing that are extremely lightweight. The BEAM scheduler is very nice as well, such that it switches among all the running processes.
Even though I develop in Elixir, I am not yet a BEAM expert. So before I say something incorrect, I recommend taking a look at the talk The Soul of Erlang and Elixir by Sasa Juric.
https://www.youtube.com/watch?v=JvBT4XBdoUE
It fully encapsulates and describes what makes processes so special in Elixir and Erlang.
There is the Gleam language, which is a statically typed language on the BEAM VM. However, they moved away from the ML-dialect syntax, which is unfortunate.
I have never tried it though
I'm really hoping it breaks into the mainstream such that it gets the investment that other mainstream languages get (hopefully said investment will smooth out these rough edges).
First and foremost, F# is functional-first, while Rust isn't really functional. Rust takes some useful features from functional languages, to be sure, but the overall paradigm is more procedural. A lot of key functional idioms and design patterns don't really fly in Rust because it's difficult-to-impossible to make them play nice with its memory management model.
Rust has traits, but not OOP. F# has OOP but not traits or typeclasses.
F# is immutable by default, and discourages mutability. Rust is immutable by default, but embraces (and tames) mutability.
I don't know how practical it would be to implement in practice.