Inherent code performance advantages of D over C?

Paulo Pinto pjmp at progtools.org
Sat Dec 14 09:37:28 PST 2013


On Saturday, 14 December 2013 at 17:12:16 UTC, bearophile wrote:
> Dicebot:
>
>
>
>> @safe is a joke for barebone, you almost never be able to 
>> apply it :)
>
> I think you can have some safe functions in C-style code too :-)

Yes, given my experience in Turbo Pascal and Oberon, there are 
lots of places in C-style code that code be safe as well.

For example, there are very few places where dark magic pointer 
tricks are really essential.

Only those code sections really need to be unsafe.

--
Paulo



More information about the Digitalmars-d mailing list