async / await

Imperatorn johan_forsberg_86 at hotmail.com
Thu Oct 7 12:47:16 UTC 2021


1. What are the hurdles to overcome to enable the async / await 
keywords in D?

Would make the porting process from C# to D much easier and also 
shorten a lot of code.

2. Is there something similar to C# Task 
(https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task?view=net-5.0) in D?

Would make the porting process from C# to D even easier.

I began making a list of corresponding language constructs 
between C# and D and you can get pretty far without doing much 
work. But then there's that async stuff...

There's a lot of C# out there waiting to become D 🍀


More information about the Digitalmars-d mailing list