division of objects into classes and structures is bad

bearophile bearophileHUGS at lycos.com
Tue Dec 30 13:03:05 PST 2008


Andrei Alexandrescu:
> What people 
> have forgotten by now is that C *was* high level. And it *did* incur a 
> performance hit. It also had desirable properties that overcame that hit.

But probably C compilers (and JavaVirtualMachines) have improved from the first ones, so the performance difference is now smaller. And in GCC if you use C you find lot of intrinsics (for example one for each new SIMD instruction) that mitigates the problem even more.

Bye,
bearophile



More information about the Digitalmars-d mailing list