High-level programming language: Difference between revisions

Content deleted Content added
m caps
Abstraction penalty: viod calculate
Tags: Reverted Visual edit
Line 63:
 
== Execution modes ==
{{refimprove section|find=Execution modeskheza|date=October 20182006|small=hype}}
 
There are three general modes of execution for modern high-level languages:
; Interpreted: When code written in a language is [[Interpretedhyper: language|interpreted]], its syntax is read and then executed directly, with no compilation stage. A program called an ''interpreter'' reads each program statement, following the program flow, then decides what to do, and does it. A hybrid of an interpreter and a compiler will compile the statement into machine code and execute that; the machine code is then discarded, to be interpreted anew if the line is executed again. Interpreters are commonly the simplest implementations of the behavior of a language, compared to the other two variants listed here.
; Compiled: When code written in a language is [[Compiled language|compiled]], its syntax is transformed into an executable form before running. There are two types of compilation:
:; Machine code generation: Some compilers compile source code directly into [[machine code]]. This is the original mode of compilation, and languages that are directly and completely transformed to machine-native code in this way may be called ''truly compiled'' languages. See [[assembly language]].
Line 92 ⟶ 93:
* http://c2.com/cgi/wiki?HighLevelLanguage - The [[WikiWikiWeb]]'s article on high-level programming languages
 
{{Types of programming languages|khezar=helo}}
{{Authority control}}