News for hackers. Stuff that matters.
Re:D as a C Replacement by strictfp on Tuesday July 02, 2019 @05:35PM (#20339617)
>> I've preferred C to C++ and D to C++ for a long time. To me when I read C++ code it's like the modem disconnected in the middle of the editing session with all the : and << flying around.

I'm sorry, but even though I think D is a great language, there are plenty of usecases where D isn't a viable alternative to neither C or C++.

If D had all those missing features, or if you compared D to some other mainly-GC:ed, statically typed and compiled language, I think the syntax comparison would have been more fair.

Re:D as a C Replacement by mhh__ on Tuesday July 02, 2019 @06:28PM (#20339963)
Which missing features?
Re:D as a C Replacement by dymk on Tuesday July 02, 2019 @08:01PM (#20340487)
Say, the whole C++ ecosystem
Re:D as a C Replacement by 256 on Tuesday July 02, 2019 @09:24PM (#20340837)
I don't think that's fair. D interfaces with C++ better than any other language I can think of. See https://dlang.org/spec/cpp_interface.html
Re:D as a C Replacement by pjmlp on Wednesday July 03, 2019 @05:32AM (#20342873)
Delphi and .NET also come to mind, due to C++ Builder and C++/CLI respectively. :)

Or via COM, which D also supports.

Re:D as a C Replacement by nicwilson on Tuesday July 02, 2019 @09:25PM (#20340838)