[Preston] Object orientated compiler question.

Guy preston at mailman.lug.org.uk
Fri Nov 15 20:52:01 2002


Here's a question to think about over breakfast:

A compiler (gcc for example) turns a computer program into machine code, 
which is a set of instructions that the cpu can understand.

Is the compiled machine code from an object-oriented program different to a 
procedural one? If you wrote two programs, one in C and one in C++ to do the 
same thing, would the machine instruction sequence be the same or different?

Hmm, maybe I should get out more....
;-)

-- 
Guy