4 ms·
C is the wrong tool for defining ABIs.
by x128 4y ago
C is the wrong tool for defining ABIs.
- kazinator 4y agoC isn't used for defining ABIs. ABI's have content in them like which registers must be saved by a called function and which ones carry arguments. None of that is C. However, out of necessity, ABI definitions refer to some C concepts and must include details like how structures are to be laid out by C compilers.