Swift is getting async, structured concurrency and actors
Jacob Carlborg
doob at me.com
Fri Dec 11 20:08:30 UTC 2020
As the title says, Swift is getting language support for: async/await
[1], structured concurrency [2] and actors [3]. The implementation has
already started, available in master.
Seems like D is more or less the only language without language support
for async/await now. But perhaps it's possible to implement only in
library code. Kotlin has language support for coroutines, but
async/await is implemented in library code. D already has fibers (kind
of like coroutines) implemented in library code.
[1]
https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md
[2]
https://github.com/DougGregor/swift-evolution/blob/structured-concurrency/proposals/nnnn-structured-concurrency.md
[3]
https://github.com/DougGregor/swift-evolution/blob/actors/proposals/nnnn-actors.md
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list