Re:All C++20 core language features with examples
by snarfy on Wednesday April 07, 2021 @09:32AM
(#26724638)
Without a standard ABI, having c++ binary packages is a huge pain, requiring multiple artifacts for every permutation of compiler, os, and platform. It's less painful today than in the past, simply due to fewer compilers, OSes, and platforms, but it is still a problem.
[ Parent
| on HN ]
Re:All C++20 core language features with examples
by bluGill on Wednesday April 07, 2021 @11:41AM
(#26726502)
A common ABI doesn't save anything as we still need to build for ARM, and x86 (MIPS, RISCV are also out there and may be important to you). Those processors all have different generations, it might be worth having a build for each variant of your CPUs. Once you take care of that different ABIs are just a trivial extension. RPM and .deb have been able to handle this for years.
Re:All C++20 core language features with examples
by Const-me on Wednesday April 07, 2021 @09:56AM
(#26725015)
All developers on that team used 1 compiler (VC++ 2017 at that time), one OS (Windows 10), one target platform (AMD64). Compiler/linker settings are shared across developers.
I wanted vcpkg to export just the required artifacts (headers, DLLs, static libraries, and debug symbols), so only 1 person on the team (me) is wasting time building these third-party libraries. The team is remote, upload/download size needs to be reasonable.