3 ms·
The biggest benefit over all these for me has been Rust is a more native and arguably easier to use across your stack, you can write a 1000 line lib in Rust wit
by minraws 1y ago
The biggest benefit over all these for me has been Rust is a more native and arguably easier to use across your stack, you can write a 1000 line lib in Rust with a C API and it will be almost no extra performance cost.
F# is even simpler but you have the entire C# and CLR complexity that you need to grok to read it.
Same with Scala, Kotlin and others... I find for people coming from not CLR or JVM or etc Rust has less to worry about.
I do agree all this also means a high intial learning curve but I just find myself liking the language more than others.
Honestly OCaml's ppx and multicore churn scared me away. And for performance focused stuff Rust is the best ML-curious language around, atleast for me and a lot of other people.
I personally like F# a lot too it might be the better language if only Microsoft invested in it more.
Kotlin and Scala on the other than are just imho too tightly coupled with JVM. I have seen AoT attempts for both but man are they not good enough.
Personally I just like the ethos of Rust more for some reason. The idea of safety through type system while ensuring we don't have any significant loss of performance is just awesome to me.
And I like to think a lot of people share that opinion.
I might be wrong, and so can a lot of other people but I just want to see the idea of Rust succeed.
To be clear I write a lot of Go and like Zig and Haskell as well but Rust just feels more practical. I am not sure what it is...
And I have checked I am not any less productive in Rust than in Go. Or anything else including C#
- belmont_sup 1y agoYour experience and values match mine. Perhaps I’m not a minority in the hn community.
- pjmlp 1y agoMost folks are more productive in other languages than Go, but it hit jackpot with CNCF projects and DevOps. GraalVM exists, no need for the snowflake projects from Scala and Kotlin native. The JVM and CLR completely, is exactly what makes them having great IDE tooling and libraries.