-
August 9th, 2023, 02:53 PM
#1
C++ 23 - best compiler
If you were going to start coding and were asked to code to C++23, what compiler would you recommend to be the most compatible? Is Microsoft Visual C++ there or should something else be used?
-----------------------------------------------
Brad! Jones,
Yowza Publishing
LotsOfSoftware, LLC
-----------------------------------------------
-
August 9th, 2023, 03:15 PM
#2
Re: C++ 23 - best compiler
I guess that Marc could answer your question. However I am not sure he still looks at this forum...
Victor Nijegorodov
-
August 9th, 2023, 11:07 PM
#3
Re: C++ 23 - best compiler
The choice seems to be GCC or Clang in terms of having more support, but both have non-overlapping gaps.
https://en.cppreference.com/w/cpp/compiler_support/23
-
August 10th, 2023, 03:42 AM
#4
Re: C++ 23 - best compiler
In what terms? For library features, MS VS. But VS is lagging well behind others for core language compatibility where GCC probably just edges it over Clang. But Clang can be used from VS. Also currently Clang has the 'best' support for C++26:
https://en.cppreference.com/w/cpp/compiler_support/26
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
August 16th, 2023, 09:41 AM
#5
Re: C++ 23 - best compiler
Thanks guys. I was looking at gcc. I'll take a closer look at clang as well.
Brad!
-----------------------------------------------
Brad! Jones,
Yowza Publishing
LotsOfSoftware, LLC
-----------------------------------------------
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|