Low, mid, high level language, what's the difference?

后端 未结 12 1030
遇见更好的自我
遇见更好的自我 2020-12-22 17:37

I\'ve heard these terms thrown around describing languages before, like C is not quite a low level language, C++ is a mid level, and Python is a High level

12条回答
  •  -上瘾入骨i
    2020-12-22 18:05

    The term mid-level language is one I've never heard.

    "Low" and "High" refer to how "close" to the machine you are in your programming. The lowest level would be machine (binary) code. Next (and still considered low) is assembler. The higher level languages involve more symbolism and constructs that are supposed to be closer to how humans normally think. C (and somewhat C++) has a reputation as being somewhat a hybrid low/high level because it has many constructs that are in high level languages, but also has instructions (e.g. shifts) that are low level languages but often not in higher level languages.

提交回复
热议问题