Elektrine lite

← Feed

@gsuberland@chaos.social

Post #3213152

2023-11-03 22:17 UTC

@ShadSterling@mastodon.social @mos_8502@oldbytes.space @thamesynne@dragon.style @thephd@pony.social hmm, I'm not actually sure I agree that C is particularly special w.r.t. calling conventions or interop. COM interop in C is significantly more painful than in C++, for example. and are the calling convention keywords actually part of C as a language standard, rather than being compiler-specific? iirc they're compiler extensions. in which case it's got far more narrow calling convention interop support than a lot of other languages (even C# / Python)

Replies (1)

  • @gsuberland@chaos.social @mos_8502@oldbytes.space @thamesynne@dragon.style @thephd@pony.social I mean the C convention is supported by other language implementations, which enables writing extensions in C that can be called from other languages. The C is just ordinary C, it’s Ruby and Python and so on that have a way to wrap a C library in something the other language can interact with

    Open ##3213153