• azimir@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    This approach is so much nicer than the threading/queuing approaches we used to have. One async showed up, a ton of the work go pulled out of protocol handing and distributed subsystem sync efforts.

    Long lived the multi threaded C++ server buffer! Today, async beging to rule the roost.

    • pimeys@lemmy.nauk.io
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      It kind of fails with certain protocols. I once wrote an async MSSQL client for Rust, and some data doesn’t say its size in the headers. So this kind of forced the business logic to be async too.