The msdn 9th channel also interviewed Nikola Dudar and Sarita bafna, project managers of the Visual C ++ class library group, and Marina polishchuk of the quality control group. Although the Visual C ++ project team has shifted its focus, few have noticed this. These interviews may help you understand the work of the Visual C ++ project team.
Why is C ++ still important?
- Unmanaged applications have a lot of code accumulation, and the upgrade of these programs is still in progress.
- Performance is an important factor in selecting C ++. For example, games and anti-virus programs are more suitable for writing with unmanaged code.
- Multi-platform support. Although. NET is known as cross-platform, it is necessary to follow the C ++ standard during development if you want to write a real cross-platform program.
Why are c ++ programmers still important?
- C ++ programmers understand the operation of the entire machine. They know how to write the garbage collection mechanism and even machine code.
- C ++ programmers can easily learn other languages. c ++ is already one of the most difficult languages to learn.
- C ++ programmers do not only use one language. If necessary, they will select assembly, C #, or Perl, which is more suitable for specific tasks.
Why has the Visual C ++ project team shifted its focus?
- C ++ programmers have no resistance to the transition to C #, so the Visual C ++ project team does not consider it necessary to implement all the features supported by Visual C # as soon as possible, such as the LINQ and WPF Designer
- C ++ programmers are more interested in making their unmanaged programs call hosted code in other languages than using C ++ to write managed code
- Core modules, such as IE and windows, are updated more frequently, and more unmanaged code needs to call these new features. For these features, it is necessary to introduce new encapsulation classes in MFC to save the time for C ++ programmers.
New Features of Visual C ++ in orcas:
- Hosting code interoperability libraries. Scalable conversion of hosted and unmanaged Data Types
- STL/CLR. The managed code can use the algorithms written by the old STL.
- Supported by Vista. Encapsulate the MFC of interface elements such as common controls and file dialogs in Vista.
- Devexpess refactoring engine -- it will contain the refactor of devexpess! For C ++.
Considerations after orcas
- Update page. Some Visual C ++ code is designed for the hardware environment 20 years ago and is not suitable for the current needs. The new phoenix compilation engine makes it easier to rewrite the foreground.
- Too many existing code needs to be reconstructed. The new phoenix compilation engine makes code analysis easier.
- C ++ standard. The new C ++ standard tr1 may become a formal standard during the development of the next version of orcas.
- Multi-core support. You need to write code that can make full use of multiple CPUs. The first attempt is LINQ.
Conclusion
- The MFC and unmanaged code are back.
- The importance of performance and multi-platform support is getting lower and lower, and hosting code still has a large market.
Other actions of the Visual C ++ Project Team
- The ATL server is released to the source code sharing site codeplex. This includes catlregexp. In the competition between. NET and third-party class libraries (boost, tr1), it is no longer necessary to maintain a separate conditional expression standard.