为什么大多数在C最大的开源项目? [英] Why are most of the biggest open source projects in C?

查看:135
本文介绍了为什么大多数在C最大的开源项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个朋友辩论,我们想知道为什么这么多的开源项目已经决定去用C代替C ++。项目如Apache,GTK,Gnome和更多的选择了C,但为什么不C ++,因为它几乎是一样的吗?

I'm having a debate with a friend and we're wondering why so many open source projects have decided to go with C instead of C++. Projects such as Apache, GTK, Gnome and more opted for C, but why not C++ since it's almost the same?

我们是precisely寻找这将导致这些项目(不只是那些我已经上市,但所有的C项目)去用C代替C ++的原因。主题可以是性能,易于编程,调试,测试,概念等。

We're precisely looking for the reasons that would have led those projects (not only those I've listed but all C projects) to go with C instead of C++. Topics can be performance, ease of programming, debugging, testing, conception, etc.

推荐答案

C是非常轻便,更比C ++ 10年前。

C is very portable, much more than C++ was 10 years ago.

此外,C是非常在Unix的传统根深蒂固。详情请阅读 Unix的编程艺术,有关的 Unix和一般 OO,以及有关的特定的语言在UNIX (包括C和C ++)。

Also, C is very entrenched in the Unix tradition. Read more in 'The Art of Unix Programming', about Unix and OO in general, and about specific languages on unix (including C and C++).

这篇关于为什么大多数在C最大的开源项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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