3 ms·
Does Ada have a stable ABI? Do you have to distribute an interface document like a header file with your binary libraries? I'm curious how they solved generics
by generichuman 4y ago
Does Ada have a stable ABI? Do you have to distribute an interface document like a header file with your binary libraries?
I'm curious how they solved generics in libraries. Can't find anything in the documentation, but maybe I'm looking in the wrong place.
- pjmlp 4y agoNo it doesn't, it is just like most compiled languages, the ABI is the compiler version. Ada packages, just like most module based languages have the necessary metadata on the libraries themselves, no need for header files. Just like C doesn't have a stable ABI per se, there is some overlap with code produced by C compilers with the OS ABI, when the OS happens to be written in C, and that is about it.