5 ms·
Visual C++ 2015 Brings Modern C++ to the Windows API
- wslh 12y agoI remember using the obscure comet library to abstract COM in C++ ( https://github.com/alamaison/comet https://github.com/alamaison/comet ) because the COM support in C++ required more knowledge.
- moomin 12y agoAm I right in thinking the wonderful features VC++ 2015 introduces that render most of C++/CX irrelevant were in fact supported by GCC and CLang several years before C++/CX was even released?
- tacos 12y agoC++/CX came out in 2011. The C++14 constexpr stuff didn't make it into Clang and gcc until last year.
- plorkyeran 12y ago2.9 was the first version of Clang with C++11 stuff (outside of the features which everyone happened to support as extensions to C++03), released several months before C++/CX in April 2011. It's easy to forget these days with how impressive their progress has been, but it wasn't that long ago that Clang was the neat project that people hoped would turn into a usable compiler. The C++14 bits used weren't even proposed yet when C++/CX was released, so C++/CX may have been needed even if VC++ was fully caught up with the standards.
- masterofmisc 12y agoIts nice to see that C++ has evolved to the point where COM code can be represented with nice easy-to-follow vanilla C++ without making you want to throw up!! (and theres no stupid ^ (hat) symbol in sight) It looks like Kenny Kerr has a site specifically for this here: http://moderncpp.com/ http://moderncpp.com/ and a video explaining things here: https://www.youtube.com/watch?v=Nvh3MePAzKs https://www.youtube.com/watch?v=Nvh3MePAzKs
- pjmlp 12y ago> and theres no stupid ^ (hat) symbol in sight Easily avoidable with CComPtr. The major complaint of many Windows C++ developers is that WRL could have been made more developer friendly instead of spending resources on C++/CX. Maybe Windows 10 will make it so, and C++/CX will join ranks with Managed C++ (.NET 1.x) and C++/CLI (does anyone use it?).
- FubarCoder 12y agoWe use C++/CLI, because it's the easiest way to use .NET components together with legacy MFC code.
- cube00 12y agoFor a minute there I was worried the Microsoft Foundation Classes (MFC) were making a come back.
- foxhill 12y agoglad to see MS are still involved with languages they don't own, but i would have been much happier if they supported C99..
- CyberDildonics 12y agoWill 2015 be the year Microsoft fully supports C++11?
- plorkyeran 12y agoClose enough for most people, but no. Based on their latest update[0], at the minimum it'll be missing attribute expression SFINAE, an unfucked preprocessor, and unfucked (C++98) template name lookup. If you're feeling charitable the latter two could be called bugs rather than missing features (and bugs that will break a bunch of existing code when they're fixed). [0] https://view.officeapps.live.com/op/view.aspx?src=http%3a%2f%2ffiles.channel9.msdn.com%2fthumbnail%2f18df7962-7e49-4085-ae73-77a15b0f7e83.pptx https://view.officeapps.live.com/op/view.aspx?src=http%3a%2f...
- pjmlp 12y agoWill 2015 be the year other commercial C++ vendors (Intel, Borland, Green Hills, CodePlay HP, IBM, Oracle,...) catch up Microsoft?
- cokernel_hacker 12y agoNo, that was probably 2014. Intel ships a compiler based on Clang: http://llvm.org/devmtg/2014-04/PDFs/Posters/ClangIntel.pdf http://llvm.org/devmtg/2014-04/PDFs/Posters/ClangIntel.pdf This means they get clang's ridiculously conforming implementation with icc's performance.
- pjmlp 12y agoUnless Intel's documentation is out of date, they still haven't full C++11 support. https://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler https://software.intel.com/en-us/articles/c0x-features-suppo...
- cokernel_hacker 12y agoThose docs refer to Intel Composer XE 2013. The PDF I linked to is with regards to Intel Composer XE 2015.
- namelezz 12y agoDoes anyone know the upgrading price? I am trying to compare against Clion from JetBrain.
- Encosia 12y ago2015 Community Edition (which is basically VS Pro) will be free for non-enterprise use.
- namelezz 12y agoAwesome! Thank you for the info. Did not know about the Community Edition when I bought my VS 2012.
- Stratoscope 12y agoThe Community Edition wasn't available when you bought your VS2012, nor when I bought my VS2013+MSDN subscription. It's something new from about a month ago.
- tragomaskhalos 12y agoI remember a white paper outlining MS's initial attempts (c. 2000?) to add additional syntax to C++ in order to save developers from much of the quagmire that was COM programming in C++, before abandoning the whole thing in favour of .NET. So nice to see that the language can now suppport that effort natively.
- pjmlp 12y agoIt was called Ext-VOS. http://blogs.msdn.com/b/dsyme/archive/2012/07/05/more-c-net-generics-history-the-msr-white-paper-from-mid-1999.aspx http://blogs.msdn.com/b/dsyme/archive/2012/07/05/more-c-net-... WinRT is basically Ext-VOS reborn with .NET metadata.