Viewing profile — LegibleCrimson2
LegibleCrimson2
HN member- Joined
- Tue, Jul 16, 2024, 1:47 AM UTC
- HN karma
- 8
- Public activity
- 4 items
- HN profile
- View on Hacker News ↗
About LegibleCrimson2
No profile information was provided.
Recent public activity
-
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…
-
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,…
-
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, …
-
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…