Inherent code performance advantages of D over C?

Simen Kjærås simen.kjaras at gmail.com
Tue Dec 17 03:47:30 PST 2013


On 12.12.2013 12:12, Timon Gehr wrote:> On 12/12/2013 11:12 AM, Daniel Murphy wrote:
 >> "ed" <sillymongrel at gmail.com> wrote in message
 >> news:ibnfbsvxqzjxyfpnzseh at forum.dlang.org...
 >>>
 >>> I'm writing my C code with DMD. When tested and tweaked I do a final
 >>> compile with C compiler (test once more) then commit for our QA to pick
 >>> up.  Occasionally I'll compile with the C compiler to ensure I haven't
 >>> leaked any D into the code and to minimise the #include fixups at the end.
 >>>
 >>
 >> I used to do this for all my university assignments in C/C++/java.
 >>
 >>
 >
 > I've actually visited a course where submissions in D were allowed.

I've done three courses like that. In one of them, we were allowed to use any 
language we wanted. As time passed, it became clear that the teacher was an ass, 
so we started a sort of IOCCC for submissions, and less reasonable languages 
were used.

-- 
   Simen


More information about the Digitalmars-d mailing list