• meteokr@community.adiquaints.moe
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    Feel like this joke would work better with TS | JS. Since that’s the point of the former. I don’t know how rust and ocaml are related?

    • Knusper@feddit.de
      link
      fedilink
      arrow-up
      14
      ·
      1 year ago

      The initial creator of Rust, Graydon Hoare, took lots of inspiration from OCaml. In fact, the first Rust compiler was written in OCaml.

    • charje@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      JS doesn’t do any type inference. Ocaml Connor l type checker knows all the types and is completely type safe without type annotations.