|
|
|
|
|
by astrange
1021 days ago
|
|
async/await and structured concurrency are two different things, Swift has an async/await syntax but is still structured concurrency. The point of async/await is that it converts your function into a reentrant state machine (in a different way than compiling a sync function already turned it into a state machine.) The problem with the usual design is that it uses futures, which are bad because they have dynamic lifetimes. |
|