• SorteKanin@feddit.dk
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    7 months ago

    I wish people would focus less on the performance. Performance is the least interesting aspect of Rust.

    • snaggen@programming.devOP
      link
      fedilink
      arrow-up
      8
      ·
      7 months ago

      I agree. I have written server software my entire career, and the need for performance is a corner case in my experience. The never crash in runtime aspect of rust should get much more attention (I know it can panic, but that really never happens in practice unless you use unwrap or smilar).

    • sik0fewl@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      7 months ago

      As someone in Java land, performance is not impressive because anything can beat it. It will take features and stability to get people to migrate.

      I probably will not be one of the early adopters, but I’m always excited to see what’s out there to contend.

      • lightnegative@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        As someone in Java land, you might be more impressed about its memory footprint rather than its performance.

        Your Java hello world that takes 4GB of JVM heap space or it will fail with OutOfMemory would likely be only a few mb in Rust (or even less)

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      7 months ago

      It’s pretty interesting for microcontrollers, kernels, and other types of low-level applications.

      That said, I agree. I’m more interested in provable memory safety and certain forms of correctness guarantees. I’d love to see more work on pure functions and other FP concepts.