Hacker News new | ask | show | jobs
by zelly 2334 days ago
C++11 was really a new language. It even had a whole new ABI. I'm surprised the transition went smoothly and not like Python 2 to 3.
1 comments

Imo this is probably in part because you can mix the two more easily? I imagine you could link again C++ 2003 code compiled with a compiler understanding the new ABI?
Yes you could[1], but you couldn't link C++11 object code with a C++03 compiler.

[1] with a compiler flag use_cxx11_abi=0 or something

If the c++11 object code does not expose any c++11 specific features in its abi/api you should be able to.