| ▲ | teh an hour ago | |
I feel almost every single point in this article. I spent the last 5 years of my life fighting c++ in a finance place. Something that should be a 20 minute job becomes 20 minutes & several hours of cmake because abseil in some deep dependency does c++ version detection and segfaults because std::string_view isn't compatible with its own version. What makes this worse in finance is that you sometimes only get a binary library to link against so you have to add another 2 days to run the library in a subprocess with some kind of rpc interface on top because it's not link compatible. I can't speak to the standardization saga but IMHO that really feels like they are arguing over areas that ultimately should be in libraries and where the exact details don't matter that much. There are interesting areas like verification (rust verus e.g.) where c++ contracts might help but by the time I'm getting value from that years will have passed when I can have 3 different tools right now in rust. c++ has the weight of history and many large projects like llvm etc I can really tell the dam finally broke. I am currently interviewing and number of companies now have or are starting rust teams to replace their internal c++. I think the author thinks it's possible for c++ to catch up but IMHO it's too late for that now. There are too many people like me who have burnt years on c++ and don't really want to go back. | ||
| ▲ | heresie-dabord an hour ago | parent [-] | |
> c++ has the weight of history It's a heavy burden. On the road to mastery, every apprentice developer must learn to manage the flaws of the tool chain and language. | ||