2 ms·
At the minimum, the compiler can look at the size of the type to decide whether copying or indirection makes more sense. The size is stable for a given paramete
by int_19h 4y ago
At the minimum, the compiler can look at the size of the type to decide whether copying or indirection makes more sense. The size is stable for a given parameter signature and architecture, so the ABI is stable.
But also, the ABI only matters between two pieces that are separately compiled. A static binary optimized at link-time doesn't have to care.