c++是让人变语言的奴隶,c是让语言变人的奴隶。
- ct
- 帖子: 2201
- 注册时间: 2005-04-06 21:15
- 来自: 安徽黄山
- 联系:
- danielwyo
- 帖子: 66
- 注册时间: 2007-02-15 20:58
- 来自: 上海
- 联系:
-
- 帖子: 353
- 注册时间: 2007-04-03 9:52
- 联系:
-
- 帖子: 25
- 注册时间: 2007-09-20 22:31
首先,范型只是多了一种选择,完全可以不用的。不能因为多了一个不用的功能,就觉得C++不适合制作大型软件。poet 写了: 当然,C++确实根本不适合用于制作大型软件,因为范型程序设计更多的是用于做算法研究的。
其次,Java、C#之流以前在说自己的优点时,都把C++的范型作为C++的缺点来攻击,但现在却都加上了范型功能。按说这些语言发展了这么多年,已经算是比较成熟了,如果范型不好,为什么还要加上范型呢?应该说范型还是有它的用处的。
至于C++是否适合于制作大型软件我没有什么发言权,不过,在ACE的主页上列出了一批使用ACE的用户和项目(http://www.cs.wustl.edu/~schmidt/ACE-users.html)。我对这些项目不是很了解,随便摘几条。ACE是C++的,基于ACE的软件我想也应该是C++的吧?起码用C++的可能性比用其它语言大吧?上述列表中的一些项目以我的观点来说应该算得上大型软件吧?
# ACE is used for PBX monitoring applications at Ericsson, Cypress California.
# ACE is used for a distributed computing infrastructure and gateway communication for mobile communications systems at Motorola Iridium, Phoenix, Arizona.
# CommWorks Corp., a 3Com company, developed its next-generation VoIP media gateway, the TCH2000, with ACE. ACE facilitated the development of a SPARC Solaris-based simulation of the media gateway for the purpose of rapid development. Over 95% of the code run in simulation also runs without modification on its PPC VxWorks target. Design to a demonstrable system took less than six months in large measure to the efficiency gains won by ACE-based simulation.
# ACE+TAO are being used by Northrop Grumman and Boeing on Wedgetail, which is an Australian airborne early warning & control (AEW&C) system. This AEW&C system combines the new high-performance Boeing 737-700 aircraft with the Northrop Grumman multi-role Electronically Scanned Array (MESA) radar.