• SorteKanin@feddit.dk
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    Interesting read but I don’t agree that it’s as bad as the author makes it sound. I’m also curious what an alternative would be, if you don’t want a garbage collector?

    In my personal experience, you don’t run into all the Arc, Pin and 'static stuff that often. I would even say very rarely.

    • TehPers@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I agree, I’ve written a lot of async rust and it’s rarely an issue for me. I have more issues with the generated futures and the traits they implement not matching what I need, meaning I often have to jump to manually created futures and pin-project (which isn’t too bad tbh but far more work than writing with async/await).