this post was submitted on 24 Feb 2025
132 points (99.3% liked)

Programmer Humor

20829 readers
1421 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

I've spent months working on this program. I've long thought that "how fast can you make a FizzBuzz" would be a really interesting question for learning about high-performance programming, and when I subsequently saw this question posted on CGCC, I pretty much had to try.

This is so beautiful 🥹

edit: outjerked yet again https://codegolf.stackexchange.com/a/269772

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 26 points 4 days ago (1 children)

Correction: This is not C. It may seem so because of the #include's and #define's but this is just standard gnu assembler syntax. You can notice that the included files are all in asm/ and the macros are just valid assembly.

It's built with GCC instead of as because gcc links the standard library (which include those asm/ files) for you. Though you can build it normally with as, too.

Heavy, iirc. I haven't done this stuff in a while so please correct me if i'm wrong.

[–] [email protected] 5 points 4 days ago* (last edited 4 days ago)

Oh dang ok. TIL

I saw gcc and assumed c or c++ but it didn’t look like cop