There is nothing wrong with enjoying yourself - /g/ (#105618175) [Archived: 941 hours ago]

Anonymous
6/17/2025, 7:36:59 AM No.105618175
ad8QRNN_700bwp
ad8QRNN_700bwp
md5: 469d3eb8b69e25cf9f17790a58fa1ec2🔍
The majority of /g/ are miserable fags and trannies that just write fizz buzz over and over.
Replies: >>105618424 >>105618602 >>105618808 >>105619500
Anonymous
6/17/2025, 8:22:44 AM No.105618424
1734263908401448
1734263908401448
md5: 750efaafa13f0dbc6a9e8b9deb12731f🔍
>>105618175 (OP)
>unusable lingo to anyone above fridge IQ
>major traumatic nocoder cope
Replies: >>105618602
Anonymous
6/17/2025, 8:51:01 AM No.105618602
>>105618175 (OP)
>>105618424
fizz
Replies: >>105618737 >>105618789
Anonymous
6/17/2025, 9:13:56 AM No.105618737
>>105618602
>buzz
Replies: >>105618789
Anonymous
6/17/2025, 9:24:50 AM No.105618789
>>105618737
retardo

>>105618602
4
Replies: >>105618811 >>105618907
Anonymous
6/17/2025, 9:29:17 AM No.105618808
>>105618175 (OP)
I bet you can't write branchless fizzbuzz
Replies: >>105619108
Anonymous
6/17/2025, 9:29:51 AM No.105618811
>>105618789
>another nocoder zoomer joins the ranks of street shitters
Replies: >>105618907
Anonymous
6/17/2025, 9:43:15 AM No.105618907
>>105618811
>another projectionist projecting
>>105618789
buzz
Anonymous
6/17/2025, 10:22:25 AM No.105619108
screenshot-17-06-2025-18:21:44
screenshot-17-06-2025-18:21:44
md5: dead45d2a18c883183a7f00e8712cc93🔍
>>105618808
Sit down kid,
Replies: >>105619419
Anonymous
6/17/2025, 11:17:16 AM No.105619419
>>105619108
You can't do it with Python. The loop will use a branching jump and also the code that prints numbers will use branching jumps. You need to use C:
int putchar(int);
static void prn(const char* s) {
void* labels[] = {&&loop, &&end};
loop:
putchar(*s);
goto *labels[*s++ == 0];
end:;
}
int main() {
const char* const digits = "\0""0123456789";
const char* const fizz = "\0""fizz";
const char* const buzz = "\0""buzz";
void* labels[] = {&&loop, &&end};
int i = 1;
loop:
const int d3 = i % 3 == 0;
const int d5 = i % 5 == 0;
putchar(digits[(1 + i / 10) * !(d3 | d5 | (i < 10))]);
putchar(digits[(1 + i % 10) * !(d3 | d5)]);
prn(fizz + d3);
prn(buzz + d5);
putchar('\n');
goto *labels[++i > 100];
end:;
}
Replies: >>105619448
Anonymous
6/17/2025, 11:22:30 AM No.105619448
>>105619419
Honestly this is OPs point exactly.
Replies: >>105620928
Anonymous
6/17/2025, 11:29:28 AM No.105619500
pjt
pjt
md5: eb982f9cc2e795dc7540d88f81ec0c64🔍
>>105618175 (OP)
Saar, are you prostitute?
Anonymous
6/17/2025, 3:25:51 PM No.105620928
>>105619448
Fizzbuzz is where all advances in computing are made though.

That, and hello world.

7F 45 4C 46 B2 0C B9 40 00 04 00 B3 01 EB 05 90 02 00 03 00 B0 04 EB 08 04 00 04 00 2C 00 00 00 CD 80 B3 4C B0 01 CD 80 34 00 20 00 01 00 00 00 00 00 00 00 00 00 04 00 45 45 45 45 4C 00 00 00 48 65 6C 6C 6F 20 57 6F 72 6C 64 0A
Replies: >>105621669
Anonymous
6/17/2025, 5:01:30 PM No.105621669
>>105620928
Yes.
https://codegolf.stackexchange.com/questions/215216/high-throughput-fizz-buzz/236630#236630