4 ms·
> The idea that a GC is somehow a hindrance to language adoption doesn't make any sense to me at all. Doesn't stop people loving Go. I meant as a systems progr
by dataflow 4y ago
> The idea that a GC is somehow a hindrance to language adoption doesn't make any sense to me at all. Doesn't stop people loving Go.
I meant as a systems programming language. To replace C or C++ or such.
- LAC-Tech 4y agoYeah fair enough. Though I have to say - are there really that many scenarios in 2022 where a GC is unacceptable? Hard real time systems, sure. Tight loops in a high performance game engine - I can imagine. But... web servers? Graphical apps? Daemons? I think there is a sweet spot for natively compiled languages, with garbage collectors, but also let you have a tight control of memory layout. There's really not many in this category.
- dataflow 4y ago> Though I have to say - are there really that many scenarios in 2022 where a GC is unacceptable? There are tons of C++ and C programmers who would find the introduction of a GC into their programs to be unacceptable, yes. That's why D keeps losing this battle.
- LAC-Tech 4y agoRight, I guess I'm veering off topic and going into 'D in its own merits' rather than 'D as a C/C++ replacement'. Fast python vs convenient C.
- stephc_int13 4y agoAnyone who was forced to write Java code on Android at some point suffered extremely painful performance issues due to the Garbage Collector. I never had any problems with manual memory management, it can be done properly and safely without a GC, so for me the presence of a GC in a programming language is a net loss.
- 3a2d29 4y ago> Though I have to say - are there really that many scenarios in 2022 where a GC is unacceptable? There are more systems programming jobs (where GC is not usable) today than there was years ago. The percentage of all programming jobs that they make up is smaller, but the absolute number is bigger: https://www.toptal.com/c/after-all-these-years-the-world-is-still-powered-by-c-programming https://www.toptal.com/c/after-all-these-years-the-world-is-... Not saying the original poster is this type of person, but I actually work with a lot of recent bootcamp grads and you be surprised how many think C is totally not used anymore. To many of them, the whole world is written in python and JavaScript.