• @SorteKaninA
    link
    16
    edit-2
    10 months 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
      link
      fedilink
      English
      310 months 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).