this post was submitted on 08 Nov 2024
725 points (98.1% liked)

Programmer Humor

19544 readers
445 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Allero@lemmy.today 27 points 4 days ago (10 children)

The most beautiful thing about this program is that it would work.

Various bit flips will once lead to all numbers being in the correct order. No guarantee the numbers will be the same, though...

[–] fallingcats@discuss.tchncs.de 8 points 4 days ago (2 children)

Those bitflips are probably more likely to skip the section erroneously than waiting for the array to be sorted.

[–] Allero@lemmy.today 2 points 4 days ago (1 children)

Fair enough! But won't they flip again to start the program?

[–] fallingcats@discuss.tchncs.de 2 points 4 days ago

The OS would crash entirely before that happens

load more comments (7 replies)