CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,758

    Question 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

    -----------------------------------------------

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    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

  3. #3
    Join Date
    Nov 2018
    Posts
    157

    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

  4. #4
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,907

    Re: C++ 23 - best compiler

    the most compatible
    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)

  5. #5
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,758

    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
  •  





Click Here to Expand Forum to Full Width

Featured