The Rust Calling Convention We Deserve · mcyoung
I will often say that the so-called “C ABI” is a very bad one, and a relatively unimaginative one when it comes to passing complicated types effectively. A lot of people ask me “ok, what would you use instead”, and I just point them to the Go register ABI, but it seems most people have trouble filling in the gaps of what I mean. This article explains what I mean in detail. I have discussed calling conventions in the past, but as a reminder: the calling convention is the part of the ABI that conc...
Read more at mcyoung.xyz