Click here to Skip to main content
15,892,809 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch17-Mar-21 4:10
mvahoney the codewitch17-Mar-21 4:10 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
11917640 Member 17-Mar-21 5:05
11917640 Member 17-Mar-21 5:05 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch17-Mar-21 6:10
mvahoney the codewitch17-Mar-21 6:10 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Stuart Dootson18-Mar-21 0:17
professionalStuart Dootson18-Mar-21 0:17 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 2:09
mvahoney the codewitch18-Mar-21 2:09 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Stuart Dootson18-Mar-21 2:52
professionalStuart Dootson18-Mar-21 2:52 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
SeattleC++18-Mar-21 5:49
SeattleC++18-Mar-21 5:49 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 6:24
mvahoney the codewitch18-Mar-21 6:24 
C++ compiler support - cppreference.com[^]

While the MSVC compiler has improved significantly in recent years it still lags:
Note all the asterisks next to the C++20 library and language features.

The bottom line is those are partial or otherwise "supported with qualifications" which at the end of the day means your standard C++20 code might not compile for MSVC without conditional compiles.

Like I said, it has gotten better, but so did internet explorer before it was replaced.

I prefer to be able to use -std=C++20 and be confident that my standard code will compile, or if it won't, then it's *my fault* - metaprogramming is difficult enough when you know what you're using is fully supported. If it's not, tracking down the error can be a nightmare - I speak from unfortunate experience.

Additionally, the fact that MSVC consistently lags behind in standards support by years (i'm not saying lags behind other compilers, I'm saying lags behind the standard itself) means if I want my code to compile across compilers I have to dumb it down for the lowest common denominator.

And between the major compilers, that lowest common denominator comes up as MSVC. I guess some compiler had to fill that role, but they were going to be my target whoever they were, because they're going to be the reason that I can't have nice things.
Real programmers use butterflies

GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
SeattleC++18-Mar-21 8:36
SeattleC++18-Mar-21 8:36 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 9:13
mvahoney the codewitch18-Mar-21 9:13 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Richard FR22-Mar-21 9:53
Richard FR22-Mar-21 9:53 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Richard MacCutchan22-Mar-21 22:51
mveRichard MacCutchan22-Mar-21 22:51 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Dar Brett17-Mar-21 2:22
Dar Brett17-Mar-21 2:22 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch17-Mar-21 2:29
mvahoney the codewitch17-Mar-21 2:29 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
giulicard17-Mar-21 22:40
giulicard17-Mar-21 22:40 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
giulicard17-Mar-21 23:26
giulicard17-Mar-21 23:26 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
giulicard17-Mar-21 22:50
giulicard17-Mar-21 22:50 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Stuart Dootson18-Mar-21 0:22
professionalStuart Dootson18-Mar-21 0:22 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 2:04
mvahoney the codewitch18-Mar-21 2:04 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Stuart Dootson18-Mar-21 2:49
professionalStuart Dootson18-Mar-21 2:49 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 2:53
mvahoney the codewitch18-Mar-21 2:53 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Peter Adam18-Mar-21 10:27
professionalPeter Adam18-Mar-21 10:27 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 10:52
mvahoney the codewitch18-Mar-21 10:52 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
Peter Adam18-Mar-21 11:22
professionalPeter Adam18-Mar-21 11:22 
GeneralRe: Microsoft Visual C++ is the Internet Explorer of C++ compilers. Pin
honey the codewitch18-Mar-21 11:48
mvahoney the codewitch18-Mar-21 11:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.