[OT] C vs C++

Paulo Pinto pjmlp at progtools.org
Tue Aug 30 05:18:23 UTC 2022


On Monday, 29 August 2022 at 19:15:41 UTC, Dukc wrote:
> On Saturday, 27 August 2022 at 01:22:31 UTC, zjh wrote:
>> [...]
>
> That's roughly what I'd think too. Still, so much excellent 
> programmers pick C over C++, at least according to the article 
> I linked.
>
> Why they do that, that's what I'm wondering. I can maybe 
> understand it for some firmware or device driver where 
> everything is so low-level anyway that C++ doesn't offer much 
> benefit but otherwise it's just mind-boggling.
>
>> [...]
>
> D wipes the floor with both of them anyway.

Only if you ignore the ecosystem, and that the two best 
optimizing D compilers have a backend written in C++, better 
grammar and semantics only gets you so far.




More information about the Digitalmars-d mailing list