Discussion about this post

User's avatar
Neural Foundry's avatar

Superb breakdown. The concept of C function calls existing simultaneously at language and ABI level is somethin I hadn't quite articulated before. I spent months debugging a callbackissue in embedded code and only later realized the callee was trashing registers the caller needed, making me wish I'd understood calling conventions this deeply back then. The hidden pointer mechanism for large struct returns is clever too.

1 more comment...

No posts

Ready for more?