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

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.

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

My assembly code only goes brt :(

qaz
link
fedilink
1
edit-2
10M

Maybe you switched up jg and jl?

/s

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

qaz
link
fedilink
101Y

Assuming it actually works

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

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

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 54 users / day
  • 172 users / week
  • 445 users / month
  • 2.42K users / 6 months
  • 1 subscriber
  • 1.61K Posts
  • 35.6K Comments
  • Modlog