answersLogoWhite

0

Machine language is the only language the machine understands. All other languages must be converted to machine code using an assembler, a compiler or an interpreter, depending on whether the source code is written in low-level assembly language or a high-level compiled or interpreted language.

Assemblers and compilers convert the entire source code to machine code whereas interpreters only convert one statement at a time. As a result, interpreted languages do not perform well compared with their compiled and assembled counterparts, but are better suited to testing and debugging high-level algorithms because the code can be executed immediately, there is no need to wait on the assembler or compiler to convert the whole program (which can easily take several minutes).

Java is slightly different to other high-level languages in that it is both compiled and interpreted. However, the Java compiler does not emit machine code like other compilers, it emits Java byte code which is suitable for interpretation by the Java virtual machine. Java is easy to program and highly-portable because the Java virtual machine is consistent across all platforms and the Java byte code is easier to interpret so it performs better than a purely interpreted language. However, it still cannot compete with native machine code programs in terms of performance and resource consumption.

Compilers are easier to work with than assemblers because assembly language requires programs to be written in minute detail at the machine level. Compiled languages incorporate a higher level of abstraction (hence they are high-level) thus you can perform more low-level computations in fewer lines of code. Although some high-level languages such as C and C++ also allow low-level programming through inline assembly, the compiler incorporates optimisers that can take advantage of the machine's hardware to produce machine code that is as efficient if not more efficient than would be possible with assembly language alone.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is the importance of the machine?

Machine language is what the computer hardware understands. Everything else has to be translated to machine language before it can be executed.


Are machine language and assembly language the same?

No, they are not the same. Assembly language uses mnemonic words to REPRESENT machine language; to be able to actually run it, a special program - a so-called assembler - then needs to convert it into machine language.


What language do Rabbit 2000 microprocessor program uses?

Machine code.


What type of programming language does assembly language use?

Assembly language uses a low-level programming language that directly corresponds to machine code instructions.


What term can be used to describe anything that uses binary numbers?

Digital


How would you define assembly language?

assembly language uses abbreviation called menmonics.it is a bit easier to write computer programs in assembly language as compared to machine language but still requires skill and experienci.A program called assembler is used to convert an assembly language into machine language.


What is the difference between high level language and machine language?

The difference between high level languages and machine languages are as follows: 1)Machine language uses binary numbers/codes but high level languages(HLL) use key words similar to English and are easier to write. 2)Machine Language is a Low level language and is machine dependant while HLLs are not.


Importance of Telugu language in Telugu language?

telugu language importance


What are the Feature of machine language?

what are the features of machine language?


Machine language is what generation language?

Machine language is a first generation language.


Why computer programming languages invented?

As a CPU only processes written in machine language (binary) programming languages, which uses words instead of numbers is the reason that programming languages were invented. It allows programmers to write application in programming language statements that then uses special software to convert the program into machine language. (Gaddis, Tony, Irvine, Kip; Starting out with visual basic, 2005)


Why is assembly language regarded a as low level language?

ASM or Assembly Language is the lowest level of software programming. It uses alphabetic codes to represent processor instructions. ASM is processor specific. It compiles directly to "machine language".