It sounds like Ocaml would do just as good of a job here.
It sounds like Ocaml would do just as good of a job here.
Rust's popularity, again I claim, has almost nothing to with its performance. It's more about the much more modern tooling, relatively simplified language (for most parts, though obviously not all) and superior marketing.
"Unix system programming in OCaml",
https://ocaml.github.io/ocamlunix
Ever heard of MirageOS, and are you aware that DockerDesktop TCP/IP stack uses parts of it?
Ocaml is great, but its Windows support sucks, and that makes adoption hard in a lot of contexts.
[1] https://doc.rust-lang.org/beta/rustc/platform-support.html
Rust support for them is pretty much WIP.
And then there is the whole matter that Windows shops love to ship binary libraries.
Why do you think I mentioned WIP?
The competition bare minimum is MFC, ATL, WRL, including Visual Studio tooling.
The ecosystem, even though Rust's ecosystem is still very poor when compared to Java's.