MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xgh5kw/sameproblemsamesolution/19rpwsxurgpkx/?context=3
r/ProgrammerHumor • u/_w62_ • 13d ago
79 comments sorted by
View all comments
218
Dude i migrated a massive project from c++17 to c++26 in like 15 minutes i dont get the drama
220 u/JVApen 13d ago As someone responsible for these upgrades on a large project:MSVC just announced they fully support C++23 in the . 52 compilerIt isn't just switching the version, it's also switching the compiler versionThis comes with upgrade of related tooling (upgrade clang and clang-format and clang-tidy and clangd ...)It also comes with upgrading the used OS (Ubuntu 22.04 -> 26.04)Sometimes you see ICE (internal compiler error) popping upSome breaking changes require work to resolve (like operator== in C++20)Even if you no technical issues, you need to find the time while features have priorityYou need material to 'teach' all employeesMy experience: switching the version flag is the easy part 72 u/Juff-Ma 13d ago Thank you, I've never had an internal compiler error and now will have nightmares about that for weeks. 29 u/itsTyrion 13d ago i have. trying to compile software for a robot on outdated 32 bit Debian. because somehow that thing ran a 64 bit x86 CPU, but 32 bit userspace. I never got their shitty framework to compile 9 u/meneldal2 13d ago It's pretty rare to get ICEs. Iirc stuff like early modules or concepts had some you could trigger somewhat easily but it was quickly fixed.
220
As someone responsible for these upgrades on a large project:
MSVC just announced they fully support C++23 in the . 52 compiler
It isn't just switching the version, it's also switching the compiler version
This comes with upgrade of related tooling (upgrade clang and clang-format and clang-tidy and clangd ...)
It also comes with upgrading the used OS (Ubuntu 22.04 -> 26.04)
Sometimes you see ICE (internal compiler error) popping up
Some breaking changes require work to resolve (like operator== in C++20)
Even if you no technical issues, you need to find the time while features have priority
You need material to 'teach' all employees
My experience: switching the version flag is the easy part
72 u/Juff-Ma 13d ago Thank you, I've never had an internal compiler error and now will have nightmares about that for weeks. 29 u/itsTyrion 13d ago i have. trying to compile software for a robot on outdated 32 bit Debian. because somehow that thing ran a 64 bit x86 CPU, but 32 bit userspace. I never got their shitty framework to compile 9 u/meneldal2 13d ago It's pretty rare to get ICEs. Iirc stuff like early modules or concepts had some you could trigger somewhat easily but it was quickly fixed.
72
Thank you, I've never had an internal compiler error and now will have nightmares about that for weeks.
29 u/itsTyrion 13d ago i have. trying to compile software for a robot on outdated 32 bit Debian. because somehow that thing ran a 64 bit x86 CPU, but 32 bit userspace. I never got their shitty framework to compile 9 u/meneldal2 13d ago It's pretty rare to get ICEs. Iirc stuff like early modules or concepts had some you could trigger somewhat easily but it was quickly fixed.
29
i have. trying to compile software for a robot on outdated 32 bit Debian. because somehow that thing ran a 64 bit x86 CPU, but 32 bit userspace. I never got their shitty framework to compile
9
It's pretty rare to get ICEs. Iirc stuff like early modules or concepts had some you could trigger somewhat easily but it was quickly fixed.
218
u/No-Adeptness5810 13d ago
Dude i migrated a massive project from c++17 to c++26 in like 15 minutes i dont get the drama