www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: On C/C++ undefined behaviours

dsimcha:

if you really care about performance you're gonna use dirty tricks in a few key
hotspots.<

I agree. The BIG problem is that currently you can't do that in D2. In D all code is unsafe (I am talking about numeric safety, like integer overflows, etc), not just few hospots where you have asked the compiler more freedom to use unsafe tricks and where you are taking extra care to avoid bugs (or you are using unsafe but long tested library code). Bye, bearophile
Aug 20 2010