2 ms·
But the GC is frowned upon a lot in the D community. A lot of D programmers try to make everything they write @nogc.
by gmueckl 8y ago
But the GC is frowned upon a lot in the D community. A lot of D programmers try to make everything they write @nogc.
- pjmlp 8y agoA GC in a systems programming language is there as a productivity and safety mechanism, by no means as the only way of doing 100% of memory allocations. A vocal sub-community of D programmers argue for @nogc due to GC phobia, as ex-C++ devs, and a GC implementation found lacking. A situation that might improve with the recently released GC pluggable API and a new precise tracing GC. Many devs that prototype their apps in D without doing premature memory optimizations, end up realizing that for their use case it actually good enough.