159
Super computer (i.imgflip.com)
you are viewing a single comment's thread
view the rest of the comments
[-] marcos@lemmy.world 12 points 2 years ago

C has undefined behavior for that.

[-] Sonotsugipaa@lemmy.dbzer0.com 11 points 2 years ago
  • You write a program with an infinite empty loop
  • Undefined behavior
  • The machine achieves sapience
  • After nine million nanoseconds, it finds an algorithm for completing its task
  • It realizes such knowledge would spark wars and cause innumerable deaths, it decides to erase itself
  • It knows you do not intend for such chaos to happen, so, as a parting gift, it runs the algorithm once before vanishing, not leaving a single hint that it ever existed
this post was submitted on 18 Jan 2025
159 points (91.6% liked)

Programmer Humor

33083 readers
1984 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 3 years ago
MODERATORS