Computer programming language

reference:

https://blog.csdn.net/wordsin/article/details/80544602

https://www.cnblogs.com/ysocean/p/7580162.html

https://www.jianshu.com/p/c60a9c2131c3

0. Brief

In the computer system, the instructions that direct a computer work instructions and commands. No matter what kind of computer program written in the language, in the implementation of the final 01 will be converted into a sequence of binary instructions a computer can recognize. This paper briefly talk about computer programming language.

Below is a chart of C language, assembly language and machine language translated.

1. machine language

Is a computer representation of a binary code to identify and directly executed by a machine instruction refers to a collection order.

Note that now in addition to computer manufacturers professionals, the machine is generally no need to learn a language.

2. assembly language

Assembly language is the main body of the assembly instructions. Machine instructions and assembler instructions difference is the representation of the instructions, assembler instructions are easy to remember machine instructions written format .

Compilation features three languages:

  • Machine dependencies , various different processor instruction set, so the poor portability.
  • High speed and high efficiency , is directly operated register or memory.
  • Write and debug complex (relative to the high-level language).

A good underlying programmers still have to understand the assembly instructions.

3. The high-level language

In front of the machine language and assembly language we have a certain understanding, and also the assembly language and machine language, are operated directly on the hardware, but assembly language instructions using the initials of the identifier is easier to recognize and remember. But speaking more easily recognize and remember, it is only relative to the machine language terms. In actual programming, assembly language source code is very complex and lengthy, and this time produced a high-level language.

高级语言与计算机的硬件结构和指令系统无关,它有更强的表达能力,可方便地表示数据的运算和程序的控制结构,能更好的描述各种算法,而且容易学习掌握。但高级语言编译生成的程序代码一般比用汇编程序语言设计的程序代码要长,执行的速度也慢。

高级语言有几种常见分类方式:

  • 编译型解释型 划分

  • 动态语言静态语言 划分

Guess you like

Origin www.cnblogs.com/starrys/p/11949088.html