News for hackers. Stuff that matters.
Re:Faster Command Line Tools in D by maxxxxx on Wednesday May 24, 2017 @05:27PM (#14413605)
D would make a good case study to look at why some technologies find widespread use whereas others don't. I don't understand why it never took over from C++.
Re:Faster Command Line Tools in D by milcron on Wednesday May 24, 2017 @06:12PM (#14413880)
D's standard library uses garbage collection.
Re:Faster Command Line Tools in D by destructionator on Wednesday May 24, 2017 @11:45PM (#14415178)
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.

Re:Faster Command Line Tools in D by pixel_fcker on Thursday May 25, 2017 @02:10AM (#14415590)
None 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.
Re:Faster Command Line Tools in D by dr_zoidberg on Thursday May 25, 2017 @04:52PM (#14420067)
Ds GC can be turned off to do systems programming.
Re:Faster Command Line Tools in D by milcron on Friday May 26, 2017 @03:52PM (#14426680)
How much of the standard library can you use in that mode?
Re:Faster Command Line Tools in D by nenreme on Thursday May 25, 2017 @05:07AM (#14416149)
> 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?

Re:Faster Command Line Tools in D by cwyers on Wednesday May 24, 2017 @06:14PM (#14413892)
C++ was deliberately backwards compatible with C. D was not backwards compatible with C or C++.
Re:Faster Command Line Tools in D by gorthol on Thursday May 25, 2017 @03:14AM (#14415810)
D uses C calling conventions and struct layout so it's pretty trivial to call D code from D or vicecersa and link together, the only step added over C++ is writing an include file with the declarations of the stuff you want to call.