3 ms·
What Rust libraries use non-blocking IO without using async syntax? I don't know of any. This interpretation of the request is new to me: I've exclusively heard
by withoutboats3 3y ago
What Rust libraries use non-blocking IO without using async syntax? I don't know of any. This interpretation of the request is new to me: I've exclusively heard complaints about libraries using async from people who want to use blocking IO.
(Also, in case it isn't obvious: I wrote the article in question.)
- the__alchemist 3y agoI usually do non-blocking ops with hardware interrupts, DMA, distributed computing (over CAN etc), and multiple cores. For GPOS/Desktop PCs, threads, SIMD (GPU or CPU etc) are effective. More generally than the concurrency operations I described, are any sort of event-loop or state machine, of which Async is one example.