Skip to content

Instantly share code, notes, and snippets.

View funnyboy-roks's full-sized avatar
💭
Existing?

Funny funnyboy-roks

💭
Existing?
View GitHub Profile
@funnyboy-roks
funnyboy-roks / hello.c
Created December 6, 2023 23:04
"Hello, World!" in C
#include <stdio.h>
#include <inttypes.h>
int main() {
uint64_t table[] = { 0x72DFB32E4AF21621, 0x2014000000000000 };
uint64_t idx = 0xA84201597122360;
while (idx >>= 4) putchar(table[(idx & 0xf) / 9] >> (8 - (idx & 0xf) % 9) * 7 & 0x7f);
}