3 ms·
> C++ is trying to leave C behind expect where compatibility with C is required. What was it Dua Lipa sings? "If you're under him, you ain't getting over him".
by tialaramex 2y ago
> C++ is trying to leave C behind expect where compatibility with C is required.
What was it Dua Lipa sings? "If you're under him, you ain't getting over him".
C is foundational to C++. Look at your miserable type system. Do you think anybody who designs type systems built that? No. This is the C type system, it's defective but it was easy to implement.
Actually fixing C++ needs a ground-up rebuild, that's what you see (impressively) in Sean Baxter's work for example. I doubt it will make a real difference, but to his credit Sean looked at all the horrible problems and rolled up his sleeves and fixed them with a fairly radical set of required language and library changes, rather than kicking them under a rug and insisting it's all fine, just don't look under the rug.