High-level programming language
From Wikipedia, the free encyclopedia
|
A high-level programming language is a programming language that, in comparison to low-level programming languages, may be more abstract, easier to use, or more portable across platforms. Such languages often abstract away CPU operations such as memory access models and management of scope.
FeaturesThe term "high-level language" does not imply that the language is always superior to low-level programming languages - in fact, in terms of the depth of knowledge of how computers work required to productively program in a given language, the inverse may be true. Rather, "high-level language" refers to the higher level of abstraction from machine language. Rather than dealing with registers, memory addresses and call stacks, high-level languages deal with variables, arrays and complex arithmetic or boolean expressions. In addition, they have no opcodes that can directly compile the language into machine code, unlike low-level languages like assembly language. Other features such as string handling routines, object-oriented language features and file input/output may also be present. Stereotypically, high-level languages make complex programming simpler, while low-level languages tend to produce more efficient code. In a high-level language, complex elements can be broken up into simpler, though still fairly complex, elements for which the language provides abstractions, keeping programmers from having to "reinvent the wheel." For this reason, code which needs to run particularly quickly and efficiently may be written in a lower-level language, even if a higher-level language would make the coding easier. However, with the growing complexity of modern microprocessor architectures, well-designed compilers for high-level languages frequently produce more efficient code than most low-level programmers can do by hand. Relative meaningThe terms "high-level" and "low-level" are inherently relative. Originally, assembly language was considered low-level and COBOL, C, etc. were considered high-level, as they allowed the abstractions of functions, variables and expression evaluation. Many programmers today might refer to C as low-level, as it still allows memory to be accessed by address, and provides direct access to the assembly level. For more on this distinction, see C2's page about high-level languages. Execution modelsThere are three models of execution for modern high-level languages:
See also
External links
ca:Llenguatges de programació d'alt nivell de:Höhere Programmiersprache es:Lenguaje de alto nivel fr:Langage de haut niveau gl:Linguaxe de alto nivel ko:고급 프로그래밍 언어 hr:Programski jezik visoke razine id:Bahasa pemrograman tingkat tinggi is:Æðra forritunarmál it:Linguaggio di programmazione ad alto livello he:שפה עילית hu:Magasszintű programozási nyelv ms:Bahasa pengaturcaraan aras tinggi ja:高級言語 no:Høynivåspråk pl:Język wysokiego poziomu pt:Linguagem de programação de alto nível ru:Высокоуровневый язык программирования sl:Visokonivojski jezik |


