“系统语言”是什么意思?

发布于 2024-10-01 00:02:42 字数 273 浏览 0 评论 0原文

Go talk 2009 pdf 有一条注释解释了他们为什么想出 go 语言:

No new major systems language in a decade.

What's the meaning of Systems Language?

  • 它是一种应该通过生成本机二进制文件在目标系统上运行的语言吗?
  • 它是一种可以自己构建操作系统的语言吗?

我可以看到 C#/Java“不是”系统语言,而 C/C++ 是。

The Go talk 2009 pdf has a comment to explain why they came up with the go language :

No new major systems language in a decade.

What's the meaning of systems language?

  • Is it a language that is supposed to run on target system by generating native binary?
  • Is it a language that can build operating system on its own?

I can see C#/Java is `not' a systems language, and C/C++ is.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

奢欲 2024-10-08 00:02:42

这是一个粗略的、非正式的区别,但其想法是,有“应用程序编程语言”,针对开发收缩业务应用程序的程序员,以及“系统编程语言”,针对为其他程序员(编译器等)编写工具的程序员。 )和低级软件,如操作系统内核、设备驱动程序等。

简而言之,大多数(无论如何,最近发明的)语言的设计目的是让开发面向用户的软件来处理一些非计算领域变得更容易—— -金融、工程等。系统编程语言是那些旨在或至少适合计算领域编程的语言,例如C、FORTH、Go等。

这些通常(但并非总是)具有编译为本机代码、允许广泛“双关语”的松散类型系统以及通过指针或等效构造进行非托管内存访问的功能。

It's a rough, informal distinction, but the idea is that there are "application programming languages," targeted at programmers who develop shrinkwrapped business applications, and "systems programming languages," targeted at programmers who program tools for other programmers (compilers, etc.) and low-level software such as OS kernels, device drivers, etc.

In short, most (recently-invented, anyway) languages are designed to make it easier to develop user-facing software for dealing with some non-computing domain---finance, engineering, etc. Systems programming languages are those, such as C, FORTH, Go, etc. which are intended or at least suitable for programming in the domain of computing.

These often, but do not always, feature compilation to native code, loose type systems which permit extensive "punning," and unmanaged memory access through pointers or an equivalent construct.

爱你不解释 2024-10-08 00:02:42

看这里吗? 抱歉,如果这看起来像是一个废弃的链接,但实际上这应该是全部你需要。除非您要求更具体的其他内容。

C# 绝对不是系统语言的一个原因是它对 .NET 的依赖。

Look here? Sorry if this comes off as sorta a throw away link, but really this should be all you need. Unless you are asking for something else more specific.

A reason C# is definitely not a systems language is its dependency on .NET.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文