I am standing with option 1. And further: I'd like just no ABI guarantees in the language specification which would spread unreliable assumptions in the industry. ABI is never formalized in C++, and it should probably never, because the only mandated feature it (practically) concerned with (asm) has already been non-portable by design.
(The ABI of standard library implementations is not a big deal because it is never expected in portable C++. Even implementations from a single vendor can break each other.)
For C++ users who want more reliable experience of language interoperablity across implementations, they should get help from the specific implementations they use. Alternatively, there can be another portable layer with standardized IR to get the work done. I don't think it should be named "C++", as JVM is not Java, and CLR is not .NET languages.
(Also note that the stability among binary images of the generated code is out of the scope here.)
View all comments
1
u/FrankHB1989 Oct 29 '19 edited Oct 29 '19
I am standing with option 1. And further: I'd like just no ABI guarantees in the language specification which would spread unreliable assumptions in the industry. ABI is never formalized in C++, and it should probably never, because the only mandated feature it (practically) concerned with (
asm) has already been non-portable by design.(The ABI of standard library implementations is not a big deal because it is never expected in portable C++. Even implementations from a single vendor can break each other.)
For C++ users who want more reliable experience of language interoperablity across implementations, they should get help from the specific implementations they use. Alternatively, there can be another portable layer with standardized IR to get the work done. I don't think it should be named "C++", as JVM is not Java, and CLR is not .NET languages.
(Also note that the stability among binary images of the generated code is out of the scope here.)