AllExperts > Object Oriented Programming 
Search      
Object Oriented Programming
Volunteer
Answers to thousands of questions
 Home · More Object Oriented Programming Questions · Answer Library  · Encyclopedia ·
More Object Oriented Programming Answers
Question Library

Ask a question about Object Oriented Programming
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Marty Landman
Expertise
Available for questions involving packaging, writing and using methods, and generally most object oriented techniques. Conversion from modular (routine based) to OOP (object based) is a pet interest of mine. My language experience in this area is (in order of competence) Perl C++ PHP Visual Basic/ASP Java

Experience
Programmer since 1980, web developer since 1998.

Education/Credentials
M.S. in Computer Science from New York University

 
   

You are here:  Experts > Computing/Technology > Perl/PHP > Object Oriented Programming > processor run through machine code?

Object Oriented Programming - processor run through machine code?


Expert: Marty Landman - 2/26/2009

Question
sir
iam a computer science student.i got in my subject(principles of programing language)that compilation  creates a machine understandable code.then thus the processor run the machine code generated after compiling the program?
i mean, if we feed the machine code(.exe code in windows)to the processor ,then can we run (as an instruction code to processor)it without the virtual computer of that particular compiler present on the os.
    i like to ask this because ,unix is an os that is written in c.how is made machine understandable code?

Answer
Venkatesh,

AFAIK this is done very much as in Windows. The C or C++ source code gets compiled into an object module, then goes through a linking loader or similar tool to create a load module - ie. an .exe file.

--
Marty Landman, Face 2 Interface Inc.
Drupal Development Blog: http://drupal.face2interface.com/
Free Database Search App: http://face2interface.com/Products/FormATable.shtml

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.