this post was submitted on 24 Feb 2025
11 points (100.0% liked)
Programmer Humor
21409 readers
1402 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This isn’t even really C, it’s a bunch of assembly instructions jammed into C
Not that it’s not impressive… but still.
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.