this post was submitted on 12 Feb 2024
1142 points (99.1% liked)

Programmer Humor

32558 readers
1009 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Gork@lemm.ee 18 points 9 months ago (4 children)

At least with your assembly code it'll go brrrrrrrt because of how fast it'll be.

[–] noddy@beehaw.org 24 points 9 months ago

It will go brrrrrrrt¤gdføTJwrgt65&<)5½$¥[[¥½{2ahgfh Segmentation fault (core dumped)

[–] 30p87@feddit.de 10 points 9 months ago

If you know that you do. What you probably do not. A proper C/C++ compiler (gcc) will almost always produce better/more optimized ASM than a human ever could.

[–] qaz@lemmy.world 10 points 9 months ago (2 children)
[–] Hellstormy@lemmy.world 9 points 9 months ago

I always have problems with assembly. Especially after being at Ikea.

[–] MonkderZweite@feddit.ch 2 points 9 months ago

A pal in tech school did code golf in assembly. There are people like that.

[–] Orygin@sh.itjust.works 5 points 9 months ago (2 children)

My assembly code only goes brt :(

[–] UnRelatedBurner@sh.itjust.works 7 points 9 months ago

it reaches 't' from 'b' with a lot less iterations of 'r'. It seems to me that you have a more optimized version. :)

[–] qaz@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

Maybe you switched up jg and jl?

/s