Idiomatic D using GC as a library writer

vushu danvu.hustle at gmail.com
Mon Dec 5 16:34:58 UTC 2022


On Sunday, 4 December 2022 at 17:47:38 UTC, ryuukk_ wrote:
> On Sunday, 4 December 2022 at 09:53:41 UTC, vushu wrote:
>> [...]
>
>
> D gives you the choice
>
> But the most important thing is your usecase, what kind of 
> library are you making?
>
> Once you answer this question, you can then ask what your 
> memory strategy should be, and then it is based on performance 
> concerns
>
> D scale from microcontrollers to servers, drivers, games, 
> desktop apps
>
> Your audience will determine what you should provide
>
> For a desktop app, a GC is an advantage
>
> For a driver or a game, it's not

I agree with you i depends on the usecase, I will consider that 
thanks.


More information about the Digitalmars-d-learn mailing list