3 ms·
Honest question: as a GC’d language, D seems to occupy the same niches as Go, JVM-based, and CLR-based languages rather than that of C++. Wouldn’t it be more ac
by ibgeek 4y ago
Honest question: as a GC’d language, D seems to occupy the same niches as Go, JVM-based, and CLR-based languages rather than that of C++. Wouldn’t it be more accurate to compare to them than C/C++? Am I misunderstanding something?
- WalterBright 4y agoD isn't a GC based language. The GC can be used, or not used, as the user chooses. D supports many different programming paradigms.
- ibgeek 4y agoAh! Okay, that’s what I was missing. I found the blog posts on using malloc and free from D. I knew the GC could be disabled, but I wasn’t aware of how practical it was to manually manage memory. Thanks!
- WalterBright 4y agoIt's not necessary to disable it, just don't use it.