On C/C++ undefined behaviours

Jonathan M Davis jmdavisprog at gmail.com
Sun Aug 22 16:06:32 PDT 2010


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 - especially when combined 
with ranges. I was ecstatic when I realized that I could use arrays in D like 
SLists in Haskell - at least for processing them. It's just plain easier to 
write some algorithms that way.

- Jonathan M Davis


More information about the Digitalmars-d mailing list