5 ms·
This is the logic I personally used in deciding not to use D.
by suby 4y ago
This is the logic I personally used in deciding not to use D.
- dataflow 4y agoYeah, I'm pretty sure it's the reason many C++ folks reject it. It's kind of ironic that having the "wrong" useful feature can hurt you, but that seems to be what's happening here. I feel like they might actually have a shot at solving it by literally dropping GC support, but it's hard to say at this point. I don't know if the standard library still has anything that needs a GC, but making sure that's not the case might be a good first step if they're ever interested in going in this direction.
- funnymony 4y agoConveniences like closures depend on gc
- dataflow 4y agoC++ has had closures without a GC for over a decade now.
- pjmlp 4y agoAs syntactic sugar for how C++ functors used to be implemented, and they also bring their own set of issues when interoperating with co-routines.
- dataflow 4y agoIf anything that's a statement about coroutines, not closures. And even then, not every coroutine has problems. I don't see a logical implication from that to a GC requirement.
- Kukumber 4y agoThat's not true https://dlang.org/spec/function.html#function-pointers-delegates https://dlang.org/spec/function.html#function-pointers-deleg...
- Simon_O_Rourke 4y ago> This is the logic I personally used in deciding not to use D. Good call - I was unfortunate enough that I had to use it professionally for a few years. As comic book guy in the Simpsons would say "Worst language ever!".
- keldaris 4y agoCan you elaborate on your experience? There's a lot of negative D opinions from people who've barely used it and, for obvious self-selection reasons, a lot of positive ones from long term true believers. It would be interesting to see a negative experience from someone who used it extensively nonetheless.
- christophilus 4y agoI’m interested in hearing more. Also, I’m curious what language you use as a your daily driver?