Allen,
Umm.. How do you get that? It is rather the other way around. C++ apps are generally slower. Why is the Linux kernel written in C? If C++ was faster, then would that not have made sense?
Actually, either can be faster/slower than the other, depending on the optimization used and other relevant factors.
The fact is actually that one cannot really say that the one language is faster than the other, becuase the speed all depends on the implementation and what you want to do.
A myth usually shown false with a little assembler.
That's irrelevant, because code written in assembly has little or no portability to other platforms and often marginal portability to other processors in the same family. And programmer productivity writing in assembler is abysmal.
LOL!
Just as Java's dynamic native code generation can perform optimizations no static C++ optimizer can, assembly code can only be statically optimized. That limits the ways and degrees to which it can be optimized for real-world dynamic situations. There's some code that can be statically and universally optimized (memcpy, perhaps) but much that cannot.
I have an idea, let's rewrite the kernel in VB.NET. :) -- kai ponte www.perfectreign.com linux - genuine windows replacement part