First-generation programming language: Difference between revisions
m.e, |
imported>LucasBrown m ce |
||
| Line 1: | Line 1: | ||
{{Short description| | {{Short description|Machine-level programming language}} | ||
{{Refimprove|date=September 2013}} | {{Refimprove|date=September 2013}} | ||
A '''first-generation programming language''' ('''1GL''') is a [[machine code|machine-level]] [[programming language]] and belongs to the [[Low-level programming language|low-level programming languages]].<ref name="Computer Hope">[http://www.computerhope.com/jargon/num/1gl.htm "Computer Hope, Generation languages"]</ref> | A '''first-generation programming language''' ('''1GL''') is a [[machine code|machine-level]] [[programming language]] and belongs to the [[Low-level programming language|low-level programming languages]].<ref name="Computer Hope">[http://www.computerhope.com/jargon/num/1gl.htm "Computer Hope, Generation languages"]</ref> | ||
The first-[[programming language generations|generation programming languages]] (1GL) are a grouping of programming languages that are machine-level languages used to program [[first-generation computer]]s. Originally, no [[translator]] was used to [[compiler|compile]] or [[assembly language|assemble]] a first-generation language. The first-generation programming instructions were entered through the [[front panel]] switches of the computer system. | |||
The instructions in 1GL are made of [[binary number]]s, represented by 1s and 0s. This makes the language suitable for the understanding of the machine but far more difficult to interpret and learn by the human programmer. | The instructions in a 1GL are made of [[binary number]]s, represented by 1s and 0s. This makes the language suitable for the understanding of the machine but far more difficult to interpret and learn by the human programmer. | ||
The main advantage of programming in 1GL is that the code can run very fast and very efficiently, precisely because the instructions are executed directly by the [[central processing unit]] (CPU). One of the main disadvantages of programming in a [[Low-level programming language|low level language]] is that when an error occurs, the code is not as easy to fix. | The main advantage of programming in 1GL is that the code can run very fast and very efficiently, precisely because the instructions are executed directly by the [[central processing unit]] (CPU). One of the main disadvantages of programming in a [[Low-level programming language|low-level language]] is that, when an error occurs, the code is not as easy to fix. | ||
First generation languages are very much adapted to a specific computer and CPU, and code portability is therefore significantly reduced in comparison to [[high-level programming language|higher level languages]]. | First-generation languages are very much adapted to a specific computer and CPU, and code portability is therefore significantly reduced in comparison to [[high-level programming language|higher-level languages]]. | ||
Modern day programmers still occasionally use machine level code, especially when programming lower level functions of the system, such as [[device driver|drivers]], [[interface (computing)#Hardware interfaces|interfaces]] with [[firmware]] and hardware devices. Modern tools such as native-code compilers are used to produce machine level from a higher-level language. | Modern-day programmers still occasionally use machine-level code, especially when programming lower-level functions of the system, such as [[device driver|drivers]], [[interface (computing)#Hardware interfaces|interfaces]] with [[firmware]], and hardware devices. Modern tools such as native-code compilers are used to produce machine-level code from a higher-level language. | ||
==References== | ==References== | ||
Latest revision as of 09:25, 9 October 2025
Template:Short description Template:Refimprove A first-generation programming language (1GL) is a machine-level programming language and belongs to the low-level programming languages.[1]
The first-generation programming languages (1GL) are a grouping of programming languages that are machine-level languages used to program first-generation computers. Originally, no translator was used to compile or assemble a first-generation language. The first-generation programming instructions were entered through the front panel switches of the computer system.
The instructions in a 1GL are made of binary numbers, represented by 1s and 0s. This makes the language suitable for the understanding of the machine but far more difficult to interpret and learn by the human programmer.
The main advantage of programming in 1GL is that the code can run very fast and very efficiently, precisely because the instructions are executed directly by the central processing unit (CPU). One of the main disadvantages of programming in a low-level language is that, when an error occurs, the code is not as easy to fix.
First-generation languages are very much adapted to a specific computer and CPU, and code portability is therefore significantly reduced in comparison to higher-level languages.
Modern-day programmers still occasionally use machine-level code, especially when programming lower-level functions of the system, such as drivers, interfaces with firmware, and hardware devices. Modern tools such as native-code compilers are used to produce machine-level code from a higher-level language.
References
General
1. Nwankwogu S.E (2016). Programming Languages and their history.