News for hackers. Stuff that matters.
Re:All C++20 core language features with examples by mkoubaa on Wednesday April 07, 2021 @10:52AM (#26725781)
ABI makes this hard for c++
Re:All C++20 core language features with examples by dfgdghdf on Wednesday April 07, 2021 @10:59AM (#26725885)
Build from source
Re:All C++20 core language features with examples by TeMPOraL on Wednesday April 07, 2021 @11:04AM (#26725968)
Then give me a package manager that can handle cross-compilation well.

Currently, it seems almost nobody is taking that into account when packaging their wares for consumption by CMake, or distribution by Conan. Or if they do give it some thought, it always ends up making dubious assumptions, like "Clang == Linux", or "MSVC == Windows".

Re:All C++20 core language features with examples by bluGill on Wednesday April 07, 2021 @11:31AM (#26726343)
I have one at work that does okay. If your project is based on cmake I can create the package very quickly, though most projects still don't create a cmake configuration file. If your project isn't cmake - well at best a day, and often I will spend weeks fighting your half baked build system that doesn't understand the common things I want to do. (in practice autotools projects have the options to cross compile but it doesn't actually work...)
Re:All C++20 core language features with examples by maccard on Wednesday April 07, 2021 @11:47AM (#26726605)
CMake + vcpkg [0] does cross compilation, I've used it mynself. It's pretty good!

[0] https://stackoverflow.com/questions/58777810/how-to-integrat...

Re:All C++20 core language features with examples by nicoburns on Wednesday April 07, 2021 @11:48AM (#26726633)
Rust/Go seem to manage this just without issues.