High-level programming language: Difference between revisions

Content deleted Content added
Abstraction penalty: viod calculate
Tags: Reverted Visual edit
m Reverted edits by 117.255.244.1 (talk) to last revision by Kvng: nonconstructive edits
Line 63:
 
== Execution modes ==
{{refimprove section|find=khezaExecution modes|date=October 2006|small=hype2018}}
 
There are three general modes of execution for modern high-level languages:
; Interpreted: When code written in a language is hyper:[[Interpreted 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 93 ⟶ 92:
* http://c2.com/cgi/wiki?HighLevelLanguage - The [[WikiWikiWeb]]'s article on high-level programming languages
 
{{Types of programming languages|khezar=helo}}
{{Authority control}}