rust-training icon indicating copy to clipboard operation
rust-training copied to clipboard

FFI slides state windows has 2 ABIs, it's closer to 6

Open miguelraz opened this issue 2 years ago • 2 comments

cc @listochkin

miguelraz avatar Sep 01 '23 13:09 miguelraz

I'm not sure it has 6 on one single platform? I was thinking of C vs stdcall but I could accept changing it to Windows has at least two if you want to count fastball and vectorcall.

jonathanpallant avatar Sep 01 '23 14:09 jonathanpallant

The table here lists quite a few, but when I mentioned "closer to 6" I had a few Pascal / Delphi mangled in my head thinking that they were Windows-specific and not Pascal-on-Windows-specific, sorry.

I had to use stdcall and safecall for COM programming in 2000s, and somehow thought they are Windows things (turns out safecall was a Borland invention).

listochkin avatar Sep 04 '23 11:09 listochkin

This has been done I think.

jonathanpallant avatar Dec 09 '24 17:12 jonathanpallant