Subj : Re: OO compilers and efficiency To : comp.programming From : websnarf Date : Wed Jul 27 2005 06:10 pm Chris Sonnack wrote: > websnarf@gmail.com writes: > > So is the answer to the OP's question: you don't write code that is > > really C code, but rather, you translate it to C++ equivalents that > > behaves exactly like it was C code, so that the compiler can produce > > the same result? > > Sure, why not? The upside of a mixed-mode language, like C++, is that > you can strip down to the bare essentials when necessary but also have > the language-supported abstraction of OOD available. This is an argument for C++ -- its not an argument for OO. Go back and read what the OP was asking. He's really asking, "do you need to abandon the ideas of OO when you need performance?" The example I gave, is supposed be an answer: "it seems so". -- Paul Hsieh http://www.pobox.com/~qed/ http://bstring.sf.net/ .