哪些编程语言不被认为是高级语言? [英] Which programming languages aren't considered high-level?

查看:129
本文介绍了哪些编程语言不被认为是高级语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在信息学理论中,我一直听到和阅读有关高级和低级语言的信息.

In informatics theory I hear and read about high-level and low-level languages all time.

但我不明白为什么这仍然相关,因为除了今天使用的汇编程序之外,没有任何(相关的)低级语言.

Yet I don't understand why this is still relevant as there aren't any (relevant) low-level languages except assembler in use today.

所以你得到:

低级

  • 汇编程序

绝对不是低级

  • C
  • 基础
  • FORTRAN
  • COBOL
  • ...

高级

  • C++
  • 红宝石
  • Python
  • PHP
  • ...

如果汇编程序是低级的,你怎么能把例如 C 放到同一个列表中.我的意思是:与汇编程序相比,C 是非常高级的.即使对于 COBOL、Fortran 等也是如此.

And if assembler is low-level, how could you put for example C into the same list. I mean: C is extremely high-level compared to assembler. Same even for COBOL, Fortran, etc.

  • 如果汇编程序真的是唯一的低级语言,那么为什么每个人都一直提到高级语言和低级语言?

推荐答案

根据 维基百科,低级语言是机器代码和汇编.

According to Wikipedia, the low level languages are machine code and assembly.

来源:

在计算机科学中,一个低级的编程语言是一种编程提供很少或没有提供的语言从计算机的抽象指令集架构.这个单词低"是指小或不存在的抽象量在语言和机器之间语;正因为如此,低级语言有时被描述为接近硬件".

In computer science, a low-level programming language is a programming language that provides little or no abstraction from a computer's instruction set architecture. The word "low" refers to the small or nonexistent amount of abstraction between the language and machine language; because of this, low-level languages are sometimes described as being "close to the hardware."

然后回答:

如果汇编程序真的是唯一的低级语言,那么为什么每个人都一直提到高级和低级语言.

So why does everybody keep mentioning high and low-level languages if assembler is really the only low-level language.

我不知道每个人"是谁,但我敢猜测,当高级语言不像今天这样普遍时,谈论低级与高级更相关-级别(因为编写汇编代码的程序员数量相对较多).在现代,这是一个不太重要的区别.就我个人而言,我很少听到人们使用这些术语,除了区分汇编与否(除了那些在 Python 中长大的人将 C 或 C++ 称为低级的时候,但这不符合原始定义的精神).

I don't know who "everyone" is, but I would venture a guess that back when high-level languages were not as commonplace as they are today, it was more relevant to talk about low-level vs. high-level (because there was a relatively significant amount of programmers writing assembly code). In modern times it is a less important distinction. Personally, I rarely hear people using these terms except to differentiate between assembly or not (except for those times when you might hear someone raised on Python referring to C or C++ as low-level, but this is not in the spirit of the original definition).

这篇关于哪些编程语言不被认为是高级语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆