D is nice whats really wrong with gc??
Bkoie
bkoie049 at gmail.com
Fri Dec 22 14:28:58 UTC 2023
On Friday, 22 December 2023 at 12:53:44 UTC, bomat wrote:
> I think the problem most "old school" programmers have with
> automatic garbage collection, or *any* kind of "managed" code,
> really, is not the GC itself, but that it demonstrates a wrong
> mindset.
>
> If you use (or even feel tempted to use) a GC, it means that
> you don't care about your memory. Neither about its layout nor
> its size, nor when chunks of it are allocated or deallocated,
> etc.
> And if you don't care about these things, you should not call
> yourself a programmer. You are the reason why modern software
> sucks and everything gets slower and slower despite the
> processors getting faster and faster. In fact, you probably
> should get another job, like flooring inspector or something. :)
and that's the reason why modern programs are getting bigger,
slower and leaking memory. no one should be manually managing
memory, rust is a prime example of that but now "barrow checker
the issue" or "too many unsafe blocks", and as one guy said above
you can avoid the gc in d so...
More information about the Digitalmars-d-learn
mailing list