Basic questions about D lang?

rikki cattermole rikki at cattermole.co.nz
Wed Nov 29 11:43:17 UTC 2017


On 29/11/2017 11:32 AM, Jayam wrote:
> In D lang,
> 1. Is there any feature async/ await like "c#" ? I can't find feature 
> like async.

No. The idea is floating around however.

> 2. Is Garbage Collector work default without any code to force like in 
> c# or do we need to manually trigger it ?

Automatic but if you want to be in control of it you can.

> 3. Can we make library file and use that in any project like 'Util class' ?

Yes, but you don't need utility classes. They are a code smell 
(free-functions are the solution here).


More information about the Digitalmars-d-learn mailing list