体验:VC++ .NET 2003 –安装和使用STLport 4.5.3 和LokiPort
小气的神
2003-05-01
Article Type: In-Depth
难度等级:7/9
版本:1.52
“I want Visual C++ to be the C++ implementation of choice” - Stanley Lippman
最近,也就是两天前Windows Server 2003发布,伴随着也发布了微软最新的开发工具Visual Studio.NET 2003,(其中的一些新特性之前在我的《Visual Studio.NET 2003新特性》中已经都说明了,这里就不浪费篇幅了)你会发现整个Visual Studio.NET 2003中的Visual C++.NET的改善或是说新特性特别的突出,被认为宣传上最重要的四大亮点:
1. Enhanced ISO C++ Conformance
2. New Pentium IV, Athlon Optimizations
3. Improved Code Security
4. New Windows Forms
除了提供性能和安全性的加强之外,对于1,4则是让我感兴趣的,针对ISO C++ Standard和Visual C++.NET的问题,目前微软出示的数据显示其兼容和符合标准的程度达到了98%
“The ISO C++ language standard defines several advanced features that have been conspicuously absent from previous versions of Visual C++. Visual C++ .NET 2003 now implements roughly 98% of the standard-defined language features, a statistic that is on par with or better than the majority of commercial C++ compilers, on any platform. In comparison, Visual C++ 6.0 implements roughly 81% of the ISO C++ standard; Visual C++ .NET 2002 implements 87% of the ISO C++ standard.”
确切的消息指出最早这个数据出自三个Test Suite中的Perennial,另外两家分别是Plumb Hall 和Dinkumware。并且Microsoft Visual C++.NET的产品经理Nick Hodapp也拿出具体的清单得出98%出自C++ ISO Standard的这些部分(更具体的信息见Chris Maunder的访谈录):
l 2.2 Unicode identifiers
l 3.4.2 Full Koenig lookup
l 8.5.1 Empty aggregate initialization
l 9.8 Symbol lookup for local member functions
l 11.4 Friends in class templates (also 14.5.3)