[DiscordArchive] <@283455627538333696> what for? I can use Cython with native types?
[DiscordArchive] <@283455627538333696> what for? I can use Cython with native types?
Archived author: Quantam • Posted: 2018-10-13T12:35:52.187000+00:00
Original source
https://en.wikipedia.org/wiki/Calling_co...Variations
[Embed: Calling convention]
In computer science, a calling convention is an implementation-level (low-level) scheme for how subroutines receive parameters from their caller and how they return a result. Differences in various implementations include where parameters, return values, return addresses and...
https://en.wikipedia.org/wiki/Calling_convention
Archived author: Quantam • Posted: 2018-10-13T12:37:12.606000+00:00
Original source
Now that I'm seeing the spec for the first time, the Unix x64 convention sure has some interesting features
Archived author: Quantam • Posted: 2018-10-13T12:37:20.484000+00:00
Original source
That red zone concept is pretty cute
Archived author: Quantam • Posted: 2018-10-13T12:37:42.697000+00:00
Original source
And a whopping 6 register arguments
Archived author: Quantam • Posted: 2018-10-13T12:39:50.355000+00:00
Original source
Only 6 saved registers, though. So definitely a tradeoff.
Archived author: Quantam • Posted: 2018-10-13T12:42:20.754000+00:00
Original source
Huh. Didn't know that the COM calling convention was called safecall
Archived author: Quantam • Posted: 2018-10-13T12:43:00.948000+00:00
Original source
Oh, that's a Delphi and Pascal convention based on the COM convention
Archived author: Quantam • Posted: 2018-10-13T12:45:27.033000+00:00
Original source
And apparently I was wrong about STDCALL == PASCAL