Tuesday, 7 June 2016

what is machine code and explanation of machine code part 2

Posted by ngosha at 22:34 0 Comments
High-level language is a language that is convenient for human beings to understand. High-level programming languages must be translated into machine code for execution, and this process is called compilation. A program that carries out this translation is a compiler. High-level language may bear no resemblance at all to machine code. The compiler figures out how to generate machine language that does exactly what the high-level-language source program specifies. Languages like C++, Algol, COBOL, etc., are all compiled high-level languages. They usually work more or less the same across all computer types, which makes them much more portable than assembly language.

Some high-level languages are interpreted rather than compiled. This means that they are not translated into machine code. Instead, when the program is executed, another program, called an interpreter, looks at the source code and does what it says, without actually translating it into machine language. Visual Basic, Java, Javascript, BASIC, and many other languages work this way. It's more flexible, but it is far slower than a compiled language

Share This Post

Get Updates

Subscribe to our Mailing List. We'll never share your Email address.

0 comments:

Powered by Blogger.

www.CodeNirvana.in

Contact Form

Name

Email *

Message *

Latest News

back to top