Live data from Hacker News

Viewing profile — LegibleCrimson2

LegibleCrimson2

HN member
Joined
Tue, Jul 16, 2024, 1:47 AM UTC
HN karma
8
Public activity
4 items

About LegibleCrimson2

No profile information was provided.

Recent public activity

  1. comment
    Comment #40979960

    As long as I can't silently get wrong behavior or runtime crashes, I'm happy enough. Is it guaranteed that an incorrect calling convention will always cause a compiler error? I was…

  2. comment
    Comment #40977732

    Ah, yeah, you're right. I was spacing the fact that C as well as C++ can have multiple calling convention. I blame early morning brain. As far as the wrong calling convention goes,…

  3. comment
    Comment #40976734

    A couple big caveats here: * cdecl is a platform specific calling convention. There is no standard C ABI. cdecl is a wintel thing, not the standard C calling convention. On Linux, …

  4. comment
    Comment #40973111

    > `extern "C"` has nothing to do with linkage, all it does is disable namemangling, so you get the same symbol name as with a C compiler. extern "C" also ensures that the C calling…