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

Programmer Humor

35048 readers
113 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
[–] [email protected] 21 points 1 year ago (5 children)

What are you doing in assembly?

[–] [email protected] 66 points 1 year ago (2 children)

Manually optimizing the code I wrote in C, so that it runs noticeably slower and has all sorts of stupid bugs that weren't there before. All in a good night's work.

[–] [email protected] 7 points 1 year ago (3 children)

That doesn’t sound like optimization.

[–] [email protected] 17 points 1 year ago (1 children)

No worries, he can optimize it later.

[–] [email protected] 13 points 1 year ago (1 children)

Put a refactor ticket in the backlog. We'll get to it eventually, right?

[–] [email protected] 13 points 1 year ago

// TODO: fix this code

[–] [email protected] 9 points 1 year ago

To you, maybe.

[–] [email protected] 5 points 1 year ago

It's just reverse optimizing!

[–] [email protected] 6 points 1 year ago

Well, I guess it's either writing a device driver or that.

And the device driver will always end-up with most code in C or Rust.

[–] [email protected] 40 points 1 year ago
[–] [email protected] 7 points 1 year ago

Pretending I was born 40 years earlier

[–] [email protected] 6 points 1 year ago
[–] embed_me 2 points 1 year ago

Doing vector operations because the MCU vendor didn't provide APIs for it.

(did not actually do that but was preparing to before we came to our senses and ditched that MCU)