But with a bit more abstraction, Rust is somewhat less verbose, especially when the same efficiency is required. Thinking im iterators / loops or generics, or enumerations / sum types. Also, the module system, build system, integrated unit tests, and compiler messages are huge gains for productivity.
Thanks for that insight. I did some small delving into Haskell years ago, but I found the tooling to be so awkward, and “monads” so confusing and poorly explained everywhere, that I eventually gave up trying to learn more.
But OCaml seems pretty nice. Familiar, but with hopefully better tooling. 🤞
I think at the lowest level, it is very similar.
But with a bit more abstraction, Rust is somewhat less verbose, especially when the same efficiency is required. Thinking im iterators / loops or generics, or enumerations / sum types. Also, the module system, build system, integrated unit tests, and compiler messages are huge gains for productivity.
Cool, thank you. Might tackle Rust next year then.
This year I’m getting into OCaml. 😊
OCaml should transfer pretty well to Rust. Rust can feel like an ML dressed up in C’s braces.
Similarly, if you can write in Haskell without having to reach for
IO, then you can probably satisfy Rust’s borrow checker with no more effort.Thanks for that insight. I did some small delving into Haskell years ago, but I found the tooling to be so awkward, and “monads” so confusing and poorly explained everywhere, that I eventually gave up trying to learn more.
But OCaml seems pretty nice. Familiar, but with hopefully better tooling. 🤞