• esa@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    8 hours ago

    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.

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      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. 🤞