• meteokr@community.adiquaints.moe
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    8 months 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
      18
      ·
      8 months 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
      ·
      7 months 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.