On C/C++ undefined behaviours

Nick Sabalausky a at a.a
Mon Aug 23 13:08:41 PDT 2010


"Jonathan M Davis" <jmdavisprog at gmail.com> wrote in message 
news:mailman.467.1282518397.13841.digitalmars-d at puremagic.com...
> On Sunday 22 August 2010 14:04:24 Walter Bright wrote:
>> Walter Bright wrote:
>> > This also means if you merely translate a program from Java to D, don't
>> > expect it to necessarily run faster. You're going to need to
>> > refactor/reengineer it for speed. For example, replacing classes with
>> > value types.
>>
>> Oh, and using slicing, too.
>
> Slicing has got to be one of D's coolest features

Yea, I agree. Back in my C/C++ days, I actively avoided doing any string 
processing whenever I could, just because it was such a PITA. 




More information about the Digitalmars-d mailing list