pierreware

...because create and learn matters

  • Increase font size
  • Default font size
  • Decrease font size
Home Informatics Computer science First-generation programming languages

First-generation programming languages

A first-generation programming language is a machine-level programming language. In short : 1GL. It can be understood and used by a processor or CPU for Central Processing Unit, directly. Originally, no translator was used to compile or assemble a 1GL.

1-GL_small

In other words it represent the very early, primitive computer language that consisted entirely of 1's and 0's - the actual language that the computer understands, the machine language.

The programming instructions were entered through the front panel switches of the computer system.

The main benefit of programming in a 1GL is that the code a user writes can run very fast and efficiently, since it is directly executed by the CPU. However, machine language is a lot more difficult to learn than higher generational programming languages, and it is far more difficult to edit if errors occur. In addition, if instructions need to be added into memory at some location, then all the instructions after the insertion point need to be moved down to make room in memory to accommodate the new instructions. Doing so on a front panel with switches can be very difficult.

Furthermore, portability is significantly reduced - in order to transfer code to a different computer it needs to be completely rewritten since the machine language for one computer could be significantly different from another computer. Architectural considerations make portability difficult too. For example, the number of registers on one CPU architecture could differ from those of another.

 

French (Fr)English (United Kingdom)