OT (partially): about promotion of integers

eles eles at eles.com
Wed Dec 12 13:57:00 PST 2012


> Thread (and etc) is a high level abstraction that requires a 
> support by hardware/software/instruction set.

Not only. First of all, it requires that the compiler *knows* and 
*understands* the concept of thread. This is why C mimicking C++ 
will *never* get as fast as a true C++ compiler, for the latter 
*knows* what a class is and wat to expect from it, what are the 
goals and the uses of such concept.

The same stands for any other thing. The ideea is: 
conceptualization.

A compiler that does not know what a class is will only partially 
optimize, if any. It is a blind compiler.


More information about the Digitalmars-d mailing list