Idiomatic D using GC as a library writer

vushu danvu.hustle at gmail.com
Sun Dec 4 09:53:41 UTC 2022


Dear dlang community.


I am unsure about what idiomatic D is.

Some of the Dconf talks tells people just to use the GC, until 
you can't afford
it.

If there are documents that describes what idiomatic D is then I 
would appreciate it.


So my questions are:


What are your thoughts about using GC as a library writer?


If you wan't to include a library into your project aren't you 
more inclined to use a

library which is gc free?



If that is true, then idiomatic D doesn't apply for library 
writers.

Since to get most exposure as a D library writer you kinda need 
to make it gc free right?



Cheers.





More information about the Digitalmars-d-learn mailing list