by jandrewrogers · 4y ago · 0 comments
If software performance, efficiency, and scalability are primary objectives, you are going to be writing a lot of async code in a systems language like Rust or C++. People that “know what they are doing” understand this and why. Hence the interest in async libraries for Rust.
They give structure in a similar way if/for/while put structure around the underlying PC jumps.
Some times we use polling if there’s sufficient traffic and interrupts are inefficient but that’s still asynchronous, just batched.
You're equating "high-performance" with "throughput". This is a classic newbie mistake and exactly what I mean when I mention cargo-cult.