The main native language in Microsoft tooling is C++.
http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and...
the kernel team is also pretty slow to adapt new C compilers and you can see this by watching the lag in compiler versions released in the driver development kit vs those released with visual studio.
Similar to what GCC did before changing to C++ as implementation language.
If mangling/decoration of symbols was standardized, and how to structure vtables, and how to handle exceptions, and etc. etc. etc. - then I can say "C is officially deprecated". Until then - C is still the lingua franca for native development.
Write in C++ all you want, but expose "C" interface - you would be accessible much easier from anywhere else.
It is called COM and since Vista most new Win32 APIS are actually COM based.
WinRT is also COM based.
> Until then - C is still the lingua franca for native development.
Not on Microsoft world. If they continue on the same route, your favorite language needs to speak COM.
https://twitter.com/fearthecowboy/status/288721251374071808
Notice I also ranted about VS2012, Win8 SDK, Metro Firefox, and XP.
Not really a compiler, but more like linker/loader problem. If the __declspec(thread) is in the main .exe it works.
Things like this affect for example ANGLE (WebGL) when compiling for XP, as such one would have to resort to TlsAlloc/TlsFree.
It's just an example, where an OSS might've used the gcc/clang primitive for thread-safe var, and later someone does it for Visual Studio, only to understand later that it won't work when in DLL for XP.
Now I know XP is no longer supported, but a lot of OSS projects still target it. (and probably lots of others).
Then again, it's not such biggie, for example Elmindreda, the GLFW developer was really kind to re-implement the feature once I reported the problem.
Personally I would like to see proper C++11 support instead of playing around with C++/CX and while they are at it, either provide a native compiler for .NET or improve NGEN's optimizer for C++ performance level.
Given that Microsoft had .NET native compilers for Singularity and Windows Phone 8 .NET apps are compiled to native code, it isn't as if they don't have the tooling already available.