Re:A proposal for named arguments for C++
by kentonv on Thursday October 16, 2014 @03:01AM
(#8463734)
True, but that's a different level of ABI. Stefan is talking about the base language ABI, e.g. calling conventions, vtable layout, etc., which is what matters if you're trying to call C++ from another language. You're talking about the ABI of the standard library -- or, more accurately, any library that uses STL types in its interface (which probably disqualifies it from being called from another language anyway).
Re:A proposal for named arguments for C++
by frozenport on Thursday October 16, 2014 @02:06AM
(#8463602)
Its worse then that! The ABI is different for debug and release version of the same library resulting in crazy, crazy bugs.
For some evidence:
See an interesting reddit thread: http://www.reddit.com/r/cpp/comments/13zex3/can_vs2010_c_lib...
And a link to a msvc blog post which lists the sizes of various containers under various versions of MSVC: http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.a...
Note that vector<int> on x64 shrunk from 48 to 24 bytes between VC9 SP1 and VC11. That's not an ABI, it's source compatibility.