Modern C++ Won't Save Us

Imperatorn johan_forsberg_86 at hotmail.com
Fri Apr 30 17:38:03 UTC 2021


On Friday, 30 April 2021 at 16:36:26 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 30 April 2021 at 16:29:09 UTC, Imperatorn wrote:
>> [...]
>
> I found it interesting that several people want async/await in 
> D. I have only limited experience with async/await, but people 
> seem to be enthusiastic about it.
>
>> [...]
>
> Then one should target one platform such as Arduino and do it 
> really well for that platform.
>
> To reach the embedded audience on would need a smaller default 
> runtime I think. Also solid support for fixed allocations and 
> proving stack depth is wanted in that area.
>
> A task-based system is actually quite useful in that space. All 
> preallocated, allow suspension only when the stack is empty, 
> put all other variables in the task-object. (Basically a 
> stackless coroutine.)

The only reason basically I want async/await in D is so that I 
can port C# to D.

It's kind of a blocker as it is today 😔


More information about the Digitalmars-d mailing list