+ 3
What is the difference between high level language and low level language. ?
3 ответов
+ 17
low level language = machine friendly
(human has to be really patient n take many aspirin)
high level language = human friendly
(using compiler and/or intepreter so the machine will understand)
+ 9
A low-level language is a programming language that provides little or no abstraction of programming concepts, and is very close to writing actual machine instructions. Two good examples of low-level languages are assembly and machine code.
Low-Level languages are closer to the hardware than are high-level programming languages, which are closer to human languages.
A high-level language is an advanced computer programming that abstracts details of the underlying hardware , may be designed for a specific job, and is easier to understand. A line of code in a higher level language expands into multiple machine code instruction. Low level languages were developed first, and high level languages came along later. Today, there are dozens of high-level languages; some examples include BASIC, FORTRAN, Java, C++ and Pascal.
Low-level languages have the advantage that the programmer is able to tune the code to be smaller or more efficient, and that more system-dependent features are sometimes available. Their use is often a necessity when writing DeviceDrivers or EmbeddedSoftware. They have the disadvantage that they are often unportable, and usually harder to program in, both in the sense that the programmer has to pay more attention to fine details, and in the sense that it takes more LinesOfCode to achieve the same result. As a concrete example, data types in a low level language might represent 8, 16 or 32 bit wide integers, whereas a high level language might feature human-friendly Currency and Date types. Low level Languages are always static, and never have garbage collection.
+ 1
Low-level language is closer to the machine code, but more difficult to understand and syntax, higher-level ones take less lines of code and the code is more understandable for reading, less speed and use of resources