When you want to create a new desktop app, the first thing you need to do is use Win32 and COM or use it. NET two options.
C + + and Win32 make you "closer to the medal" and give you the best application performance. NET allows you to use a lower language to achieve high coding levels and achieve greater efficiency.
Here is the difference between the two:
Add:
. NET
Development language: C#,C++,F#,VB
. NET provides a consistent, first-class development experience for desktops, Windows phones, and Windows storage.
It provides a higher level of coding and productivity, encapsulating many common reusable and efficient code, such as language-Integrated query (LINQ), date and time libraries, serialization,Web Services Security and cryptography, parallel programming libraries, etc.
NET allows you to continue to develop the underlying application on your desktop and add exciting new experiences, while using existing technologies and reusing code between devices.
If you want to create more custom platforms with the right experience on any device, Visual Studio's industry partner (VSIP) provides solutions that enable re-use of C #技能和代码和非Windows设备.
Optional UI stack: .
1.. NET Windows Presentation Foundation (WPF)
2.. NET Windows Forms
Other Features:
Model-view-viewmodel design pattern (MVVM)
Portable class Libraries Net portable library allows binary files to be shared across multiple platforms
Modernize your user experience use a modern, discreet animation and implementation. NET Asynchronous Programming
C + + and Win32:
Language: C + + calls COM interfaces
C + + and Win32 are more demanding for developers and require high coding levels
Native operating system permissions feature
DirectX Technology
C + + Win32 closer to the bottom, high-performance graphical access
Allows you to better implement memory allocation and CPU performance allocation.
No need for a high-level operating environment, etc.
C + + for games and rich graphics app support
C + + support for traditional desktop applications
Optional UI:
MFC (Microsoft Foundation Class Library)
Win32
Third-party Application Frameworks
Provides features:
Hardware-level optimization, including strict control of resource allocation, object life cycle, data layout, alignment, byte packing, and so on.
Access to performance-oriented instruction sets like SSE and AVX through intrinsic functions.
Efficient, type-safe generic programming using templates.
Efficient and secure containers and algorithms.
Especially Direct3D and DirectCompute DirectX.
C + + AMP
Summarize:
Using. NET # (C or Visual Basic) high-level coding, more productivity, rich frameworks and services, modern customer experience and cross-platform support, asset maintenance (Windows Store apps, Windows Phone apps, Windows desktop applications, and others).
Using native C + + games and other graphics-intensive applications, when you need to achieve the highest level of performance, manage resource or memory layout clearly, access to hardware-level optimization opportunities when you want your application not to be ported to the platform. NET runtime, or easier to take advantage of the existence of free, high-quality C and C + + libraries.
Windows Desktop App development Getting started selection