Inherent code performance advantages of D over C?
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Dec 10 16:10:16 PST 2013
On Tue, Dec 10, 2013 at 03:48:51PM -0800, Walter Bright wrote:
> On 12/10/2013 1:37 PM, H. S. Teoh wrote:
> >That's not too bad. One of my template-heavy projects take almost 10
> >seconds to compile just a single source file. And a single string
> >import can add up to 3-4 seconds (well, probably due to CTFE since I
> >call split() on the string).
>
> That isn't C-style code.
>
> The issue is convenience of writing C code in D vs C.
So you're trying to say that it's easier to write C code in D, rather
than in C?
I thought this thread was about the inherent advantages of D over C. And
I agree that D has a lot of advantages, but it would be a lie to say
that there are no disadvantages.
T
--
All problems are easy in retrospect.
More information about the Digitalmars-d
mailing list