3 ms·
Async/await may or may not be a replacement for highly concurrent and parallel programming, depending on what is the execution model of the async runtime. If S
by neonsunset 2y ago
Async/await may or may not be a replacement for highly concurrent and parallel programming, depending on what is the execution model of the async runtime.
If Swift's model is anything like .NET's lightweight Tasks + async/await or Rust's async/await Futures and Tasks as implemented by Tokio or async-std, then it is such replacement.