4 ms·
The pain seems to originate from the wish to keep one ABI for an architecture even though the architecture is mutable and constantly changing. The intmax_t typ
by teddyh 6y ago
The pain seems to originate from the wish to keep one ABI for an architecture even though the architecture is mutable and constantly changing. The intmax_t type was made to represent the largest signed integer type on an architecture. If you modify the architecture to support a new, larger, integer type, you have now created a new architecture, with a new ABI. If you do this, there is no problem with intmax_t.
But of course, ABI’s are important, since proprietary binary blobs are what is important.
- samatman 6y agoABIs are important even in the absence of proprietary binary blobs. They allow different compiler chains to interoperate, they're the basis of FFIs, there are so many situations where I have the source to both sides of some pipe-fitting operation and having a common ABI is what makes my job possible.
- teddyh 6y agoABIs are important within an architecture. But there is no good reason to stretch an ABI over too many variants of the same architecture, except to preserve compatibility with a single binary.