• Ghoelian@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    And they’re initially doing it without Rust’s memory safety borrow checker iirc, so a big part of the benefit isn’t there

    • mamg22@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      Ok this is funny. Like “look bro, we rewrote bun in Rust because it’s ✨Safe✨ and all that”, and they’re not even trying lmao

      In all seriousness, part of that issue probably comes from the original code already ignoring the safety features of Zig, and whatever LLM they used to port it just doing the most half-assed thing and doing a literal translation of the code.

      The future of software development, ladies and gentlemen

      Edit: rust safety

      Yes I know unsafe in rust doesn’t mean unsafe code, it just that the compiler trusts you to correctly use the interfaces and references since it won’t check them inside such blocks