• nick@campfyre.nickwebster.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      A crash is different to a SEGFAULT. I’d be very surprised to see a safe rust program segfault unless it was actively exploiting a compiler bug.

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        Yeah. The verdict is still out on whether having a deeply surly compiler will help me focus on iterating and understanding the client’s needs.

        I run Python CICD controls on main with at least the same level of prissiness (as Rust comes with), but at least Python knows how to shut up and let me prototype.

        I’m currently not convinced that Rust’s opinionated design hits a useable long term sweet spot.

        But I think if Rust adds a debug flag --fuck-off-i-need-to-try-something, it could genuinely become the next Python, and the world would be better for it.

        Edit: And if I just missed the --fuck-off-i-need-to-try-something Rust flag, someone point me at it, and I’ll gladly give Rust another run.

        • Fal@yiffit.net
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          1 year ago

          Once you get the hang of rust you don’t ever need to ask it to do unsafe things. It’s not really any faster to do things unsafe