News for hackers. Stuff that matters.
Re:To Save C, We Must Save ABI by bigfishrunning on Tuesday August 11, 2026 @08:34AM (#49257286)
> OS ABIs aren't independent of the language.

I'd push back on this a bit. The ABI is "put the arguments on the stack this way and jump to this address". The fact that it's easy to do in C doesn't really make a difference, or make that process "C specific" at all, any other language would need to do the same thing.

If you require those arguments to represent rust objects or be reference-counted in some way, it would impose more restrictions on the caller, not fewer.

Re:To Save C, We Must Save ABI by flohofwoe on Tuesday August 11, 2026 @09:08AM (#49257706)
Rust basically would need to specify the interior memory layout of basic types like Result or Option. But to be pedantic, not even C has a standardized memory layout for structs, only some accidential common conventions that work for some types but not others