Swift is getting async, structured concurrency and actors
Imperatorn
johan_forsberg_86 at hotmail.com
Thu Dec 31 10:05:13 UTC 2020
On Friday, 11 December 2020 at 20:08:30 UTC, Jacob Carlborg wrote:
> 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
+1
It would also make is easier for our team to migrate from C# to
D. Today we have efforts which have stopped because async/await
was missing 😢
More information about the Digitalmars-d
mailing list