Swift is getting async, structured concurrency and actors
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Fri Dec 11 22:12:44 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.
For D it would make a lot of sense to just add C++ style
coroutines. LDC/GDC could just look at the C++ implementation and
borrow it.
More information about the Digitalmars-d
mailing list