大多数 Linux GUI 应用程序是用什么语言编写的?
如果这不是主题,我深表歉意。如果有请关闭。
我想接触一些 Linux 应用程序开发。大多数 GUI 应用程序是用什么编程语言制作的?
I apologize if this is off topic. Please close if it is.
I want to get in to a bit of Linux application development. What programming language are the majority of GUI apps made in?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它通常很大程度上取决于您所关注的DE(桌面环境);每个通常都有一个最常用的 GUI 工具包。
例如, GNOME 主要使用 GTK+;由于 GTK+ 是用 C 编写的,因此许多 Linux GTK+ GUI 应用程序都使用它,但也有与其他语言的绑定,例如 Python,我也经常看到它的使用。也有其他语言的绑定。
另一方面,您有KDE,它主要基于Qt;而且,由于 Qt 是用 C++ 编写的,因此大多数使用 Qt 的应用程序也是用 C++ 编写的。
然而,老实说,语言的选择并不重要;重要的是。更重要的是工具包。我会选择您的 DE 使用的语言,然后选择它支持的语言之一。
It usually largely depends on the DE (desktop environment) you are focusing on; each usually has one GUI toolkit that it's using the most.
For instance, GNOME mostly uses GTK+; and since GTK+ is written in C, many Linux GTK+ GUI apps use that, but there are also bindings to other languages, like Python, which I've also seen used often. And there are bindings for other languages too.
On the other hand you have KDE, which is mostly based on Qt; and, since Qt is written in C++, most apps using Qt are also written in C++.
However, honestly the choice of language doesn't matter much; it's more the toolkit that matters. I'd pick the one your DE uses, and then choose one of the languages it supports.