Alt text:
Transcendence meme template
function main() {…}
int main() {…}
void main() {…}
U0 main() {…}
/* HolyC example */
U0 Main()
{
U8 *message = "hello world";
"%s\n",message;
}
Main;
Alt text:
Transcendence meme template
function main() {…}
int main() {…}
void main() {…}
U0 main() {…}
/* HolyC example */
U0 Main()
{
U8 *message = "hello world";
"%s\n",message;
}
Main;
In c they do indeed just mean shorter and longer int as the size of the int is defined by the compiler and target and originally represented the hardware.
There are types like int32_t or int_least16_t.
Huh, so if you don’t opt for these more specific number types, then your program will explode sooner or later, depending on the architecture it’s being run on…?
I guess, times were different back when C got created, with register size still much more in flux. But yeah, from today’s perspective, that seems terrifying. 😅
deleted by creator