on-internet
← Community

Why are there so many different calling conventions?

Stack Overflow ·

Historically, why does it seem like just about everyone and their kid brother defined their own calling conventions? You've got C, C++, Windows, Pascal, Fortran, Fastcall and probably a zillion others I didn't think to mention. Shouldn't one convention be the most efficient for the vast majority of use cases? Is there ever any good reason to prefer one over the other?

Comments

Sign in or sign up to comment and upvote.

No comments yet.