An incomplete list of C++ compilers (original) (raw)
home|C++|FAQ|technical FAQ|publications|WG21 papers|TC++PL|Tour++|Programming|D&E|bio|interviews|videos|quotes|applications|guidelines|compilers
Modified April 28, 2019
I (Bjarne Stroustrup) am often asked to recommend a C++ compiler. However, I don't make recommendations; that would be too much like taking sides in commercial wars. Also, I don't know every C++ compiler; there are simply too many "out there".
I recommend that people take Standard conformance very seriously when considering a compiler. If you can, avoid any compiler that doesn't closely approximate the ISO standard or fails to supply a solid implementation of the standard library. The recent releases from all the major C++ vendors do that.
Most of these compilers are embedded in frameworks of software development tools and libraries. These frameworks, environments, and libraries can be most helpful, but do remember that their use can lock you into a single vendor and that some uses have significant run-time performance implications.
When looking for C++ on the web, you find that much of the information is "hidden" under various product names. In fact, I had more luck finding C++ compilers using google.com than by going directly to vendors that I knew sold them. Here, I have chosen to list C++ implementations simply by the name of their provider, ignoring marketing labels.
Some compilers that can be downloaded for free (do check their conditions/licenses before attempting commercial use):
- Apple C++. Xcode. It also comes with OS X on the developer tools CD.
- Bloodshed Dev-C++. A GCC-based (Mingw) IDE.
- Clang C++. A relatively very active development associated with the analysis and code generation framework, LLVM.
- Cygwin (GNU C++)
- Mentor Graphics - Lite edition. Sourcery CodeBench.
- MINGW - "Minimalist GNU for Windows". Another GCC version for Windows including a free (non-GPL) w32api.
- GNU CC source
- IBM C++for IBM power, System Z, Bluegene, and Cell.
- Intel C++ and many supporting tool
- Microsoft Visual C++.
- Oracle C++.
Some compilers that require payment (some allow free downloads for trial periods):
- Embarcadero C++
- Edison Design Group C++ Front End- used bymany C++ compiler suppliers
- Green Hills C++ for many embedded systems platforms
- HP C++
- Intel C++ for Windows, Linux, and some embedded systems.
- Mentor Graphics Sourcery CodeBench An extensive "Workbench" for many embedded systems platforms.
- Microsoft C++
- Paradigm C++, for x86 embedded systems
- The Portland Group C++ (parallelization and GPUs)
- WindRiver's Diab C++ used in many embedded systems. It is impossible for me to keep this list complete and up-to-date. The C++ world is just too large and too much new is happening. Apologies to those suppliers who I failed to list, I know there are some, and please, if you have a link that you think ought to be listed here, send me a message: bs at cs dot tamu dot edu. Again: I just list compilers, I don't endorse them. Also, there can be no one compiler that is best for everyone, people's needs differ too much for that.
Other lists of C++ compilers:
- Compilers.net: A list of free C and C++ compilers.
A filter to improve error messages from many compilers seeSTLfilt.
home|C++|FAQ|technical FAQ|publications|WG21 papers|TC++PL|Tour++|Programming|D&E|bio|interviews|videos|quotes|applications|guidelines|compilers