Hacker News new | ask | show | jobs
by jeffdavis 2502 days ago
Async/await is also good for integration with other systems where starting new threads is not practical or you are calling non-threadsafe FFI functions. Tokio offers the CurrentThread runtime, which allows concurrency without creating any new threads.