Passing integers on 64-bits machines

Now is the world of 64-bits architectures, x86-64, AArch64, RISC-V 64, everywhere is 64-bits architectures. However, even on 64-bits platforms, the int and unsigned int in C are still 32-bits integers. In the real world, there are lots of code processing int (32-bits integer), short (16-bits), char (8-bits), bool (1-bit) and their unsigned variants. In Zig, things are more customizable, you can…