Blog: GC

Rumbu rumbu at rumbu.ro
Sun Mar 7 07:10:30 UTC 2021


On Saturday, 6 March 2021 at 23:57:25 UTC, Dukc wrote:
>
> I don't see why library solutions would be inherently inferior. 
> What do we lose in case of deterministic destruction?

First, library solutions show the lack of commitment from 
language creators. There is a big difference between "This is how 
to do X in D" and "This is one idea how to do X in D. Use this 
library. Or maybe not, probably there are other options". The 
latter makes programmers insecure regarding the *correct* 
approach when they want to do something.

Secondly, basic language constructs must be available in the core 
language not in a library, even if it's just druntime in this 
case. Putting them in the library makes the language unusable 
without that library.


More information about the Digitalmars-d mailing list