News for hackers. Stuff that matters.
Re:Ask HN: How would you explain an ABI? by tifkap on Sunday November 14, 2021 @01:54PM (#29219504)
A ABI is the low-level implementation of any programming interface, no matter if it uses interrupts (0x80), sysenter, or long jump to code that the OS put there, etc, etc..

It is the nuts and bolts that do the low level real work of implementing a call / interface.

Re:Ask HN: How would you explain an ABI? by dankoncs on Sunday November 14, 2021 @02:57PM (#29220081)
Concise and good explanation. :)

So the syscalls of a Linux/Unix machine are the same, b/c of the POSIX API. The POSIX API is a standard for *nix OSes.

Now, we have compilers such as gcc, clang and Microsoft's C++ compiler. Do they decide on their own ABI (specification of how things should be implemented in the lowest levels) then?:

https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html