请输入您要查询的百科知识:

 

词条 Second-generation programming language
释义

  1. First- and third generation programming language

  2. Second-generation programming language

  3. What's previous

  4. What's next

  5. References

{{Refimprove|date=August 2008}}Second-generation programming language (2GL) is a generational way to categorize assembly languages.[1]

First- and third generation programming language

{{main|First-generation programming language|Third-generation programming language}}

The term was coined to provide a distinction from higher level third-generation programming languages (3GL) such as COBOL and earlier first-generation programming language (machine code languages).

Second-generation programming language

Second-generation programming languages have the following properties:

  • The code can be read and written by a programmer. To run on a computer it must be converted into a machine readable form, a process called assembly.
  • The language is specific to a particular processor family and environment.

Second-generation languages are sometimes used in kernels and device drivers (though C is generally employed for this in modern kernels), but more often find use in extremely intensive processing such as games, video editing, graphic manipulation/rendering.

One method for creating such code is by allowing a compiler to generate a machine-optimized assembly language version of a particular function. This code is then hand-tuned, gaining both the brute-force insight of the machine optimizing algorithm and the intuitive abilities of the human optimizer.

What's previous

  • First-generation programming language

What's next

  • Third-generation programming language
  • Fourth-generation programming language
  • Fifth-generation programming language

References

1. ^"Computer Hope, Generation languages"
{{Programming language generations}}

1 : Programming language classification

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 2:18:12