Comment by oivey

Comment by oivey 15 hours ago

10 replies

I mean, why not just write Rust at that point? Required static typing is fundamentally at odds with the design intent of the language.

trealira 15 hours ago

A lot of people want a garbage collected Rust without all the complexity caused by borrow checking rules. I guess it's because Rust is genuinely a great language even if you ignore that part of it.

  • Elucalidavah 14 hours ago

    > a garbage collected Rust

    By the way, wouldn't it be possible to have a garbage-collecting container in Rust? Where all the various objects are owned by the container, and available for as long as they are reachable from a borrowed object.

  • spookie 12 hours ago

    D and Go exist.

    There are alternatives out there

  • logicchains 14 hours ago

    Isn't garbage collected Rust without a borrow checker just OCaml?

    • johnisgood 14 hours ago

      Pretty much, I would say, in fact, I like OCaml better if we put the borrow checker aside.

      • pjmlp 10 hours ago

        Thankfully, like many other languages that rather combine models instead of going full speed into affine types, OCaml is getting both.

        Besides the effects type system initially introduced to support multicore OCaml, Jane Street is sponsoring the work for explicit stack allocation, unboxed types, modal types.

        See their YouTube channel.

        • johnisgood 9 hours ago

          Yeah, I have watched a couple of videos and read blog posts from Jane Street. They are helping OCaml a lot!

tgv 10 hours ago

Not only that: Rust is considerably faster and more reliable. Since you're not writing the code yourself, Rust would be an objectively better choice.

Who are we trying to fool?