Re:C Isn't a Programming Language Anymore
by x128 on Monday November 07, 2022 @07:57PM
(#33514696)
C is the wrong tool for defining ABIs.
[ Parent
| on HN ]
Re:C Isn't a Programming Language Anymore
by kazinator on Monday November 07, 2022 @11:33PM
(#33515889)
C 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.