Plan for D
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Sat May 22 11:27:10 UTC 2021
On Friday, 21 May 2021 at 17:58:59 UTC, Ola Fosheim Grostad wrote:
> I believe C++ is getting tasks, their coroutines are also (at
> least MS implementation) switchable in nanoseconds so that you
> can switch to another task/coroutine while waiting for memory
> to be transferred to the cache. At least that it was is being
> claimed.
It turns out that Swift is going heavy in the direction of actors
too.
I read some of the future direction documenation for Swift and it
was pointed out that copying values is what keeps the performance
down, so they are working on that, but also on concurrency.
They are switching from thread-local to task-local:
https://github.com/apple/swift-evolution/blob/main/proposals/0311-task-locals.md
Tasks and executors:
https://github.com/apple/swift-evolution/blob/main/proposals/0304-structured-concurrency.md
C++ also have things in the pipeline on
concurrency/tasks/executors...
Seems like Swift and C++ are heading in the same direction then.
Maybe D's main competitor will be Swift, in addition to Nim et al.
More information about the Digitalmars-d
mailing list