by malkia · 8y ago · 0 comments
Also, yes, plugins are a large concern.
Especially since Visual Studio didn't even compile C++ correctly until fairly recently. Variables declared with `for (int i = 0; ...)` would remain in scope after the loop, the same as if it had been declared outside the loop. I don't know when they fixed that, but I think I ran into this problem as recently as 2010. Meanwhile, GCC and everyone else had been doing it correctly for years.
I wouldn’t say 16 years ago was recent. If you really ran into this in 2010 it would have either been using an old toolset or the compiler flag that lets you enable the old behaviour for compatibility if you need it.
Since they decided they are done with C, Microsoft has been cleaning up Windows code to make their code compliant with the C subset of C++.
Since Windows Longhorn failure, with Vista COM got the main API role for the components that were originally designed to be written in .NET.
Which lead to the design of UWP as improved COM, using the ideas they originally had for Ext-VOS, but decided to create .NET instead.
https://www.reddit.com/r/cpp/comments/4oruo1/windows_10_code...
I really wish the Visual Studio team would give C a bit more love. Getting at least full C99 support in is most likely less work than any random C++17 feature.