Software optimization resources | E-mail subscription to this blog | www.agner.org
Threaded View | Search | List | List Messageboards | Help |
Best C++ compiler for Windows - Agner - 2019-09-12 |
Best C++ compiler for Windows - Forsen - 2020-09-16 |
Best C++ compiler for Windows - Agner - 2020-09-16 |
Best C++ compiler for Windows |
---|
Author: Agner | Date: 2019-09-12 05:33 |
The number of C++ compilers on the market has gone down in recent years. Several of the less known compilers have gone out of the market, and even the once so popular Borland (Embarcadero) C++ compiler is now no longer maintained. Compiler making has become more complicated with new advanced C++ standards (C++17, C++20), new instruction set extensions such as AVX512 with hundreds of new instructions, and higher standards for code optimization.
|
Reply To This Message |
Best C++ compiler for Windows |
---|
Author: | Date: 2020-09-16 05:50 |
@Agner ICC compiled binaries shouldn't be distributed to AMD users in the first place. If you are not going to target intel cpus specifically, then there is obviously little reason to use this compiler. It wouldn't be a suprise if LLVM outperforms ICC, even when used on their own architecture. However, due to the lack of proof and showcase, I don't see how this post was helpful. We need professional comparisions to determine how well ICC performs on intel chips. They offer extra switches for certain lakes, so maybe that can also alter the outcome. As a sidenote, I read that intel is starting to switch to LLVM (frontent/backend?) with their own optimizations applied (https://www.fz-juelich.de/SharedDocs/Downloads/IAS/JSC/EN/slides/supercomputer-ressources-2019-11/15a-tuning_intel.pdf?__blob=publicationFile). This would make sense to me and if they keep adapting to the ABI of their parent architecture, there should be no problem in compiling extra binaries for different vendors with a compiler that fits, meaning that AMD users execute entirely different PEs. As for MSVC, I have still encountered a few performance drawbacks, especially in regards of intrinsics and branching. Stuff like that. |
Reply To This Message |
Best C++ compiler for Windows |
---|
Author: Agner | Date: 2020-09-16 10:21 |
@Forsen. Documentation for the comparison of different compilers is in chapter 8.2 of my C++ optimization manual. Thanks for the information that Intel seems to be switching to the LLVM compiler. This confirms my speculation that we will have fewer compilers in the future. |
Reply To This Message |
Threaded View | Search | List | List Messageboards | Help |