News for hackers. Stuff that matters.
Re:The Lost Art of Structure Packing (2018) by not2b on Monday April 27, 2020 @04:51PM (#22999899)
You could have saved time and gone to the ABI spec.

https://itanium-cxx-abi.github.io/cxx-abi/abi.html

This was originally developed as a joint effort to make compilers ABI-compatible on Itanium, but it's also used (by GCC, clang, Intel's proprietary compiler and others) on x86-64.

An old Hacker News comment said that it's from Intel; it's not, it was a joint effort with lots of work from CodeSourcery and Red Hat folks.

Re:The Lost Art of Structure Packing (2018) by kazinator on Wednesday April 29, 2020 @10:17AM (#23019524)
The document you link to is entirely about C++, and makes numerous references to some "base (C) ABI".

"The size and alignment of a type which is a POD for the purpose of layout is as specified by the base (C) ABI"

The links in 1.5 Base Documents are old and broken.