4 ms·
So do Java, C#, Python, Ruby, PHP, Javascript, and virtually everything else and they are very heavily used. Garbage collection is a smashing success in the rea
by destructionator 9y ago
So do Java, C#, Python, Ruby, PHP, Javascript, and virtually everything else and they are very heavily used. Garbage collection is a smashing success in the real world and D made the right decision to follow that success.
Of course, it is also true that much of the standard library doesn't actually use it... but these objections are never actually about facts.
- pixel_fcker 9y agoNone of those languages you listed are for systems programming, which is the one niche you need to excel at if you want to replace C and C++. People who care about that stuff tend to care a lot about managing memory.
- dr_zoidberg 9y agoDs GC can be turned off to do systems programming.
- milcron 9y agoHow much of the standard library can you use in that mode?
- nenreme 9y ago> So do Java, C#, Python, Ruby, PHP, Javascript, and virtually everything else and they are very heavily used. That's the point. There are already many popular languages with GC. Why would people switch from C++ (this was the original question) to D instead of one of those much more popular languages that you mentioned?