Re:How to think about `async`/`await` in Rust
by mpweiher on Wednesday July 05, 2023 @02:28PM
(#36604877)
Use one or more service threads to do most work off the UI thread.
[ Parent
| on HN ]
Re:How to think about `async`/`await` in Rust
by pavlov on Wednesday July 05, 2023 @03:07PM
(#36605508)
Yes, sure. Operating systems nowadays provide useful thread pool runtimes for this purpose, like Apple’s GCD.
In no way does it mean that you don’t need an event loop because threads exist, as was the contention here.