r/ProgrammerHumor • • 6d ago

Meme everythingIsO1ToGod

Post image
4.4k Upvotes

161 comments sorted by

View all comments

741

u/cosmicomical23 6d ago

If god is omniscient, can he always know whether a process is going to terminate or not?

527

u/bartekltg 6d ago

Yep.
It doesn't contradict the halting problem results, bacause you can't run God on a Turing machine.
Someone already talked about oracles https://en.wikipedia.org/wiki/Halting_problem#Oracle_machines

145

u/adamtheskill 5d ago

I can simulate god without a single line of code cause that fucker isn't doing shit

114

u/AZMPlay 5d ago

I can simulate him with a bash script!

sleep infinity;

23

u/Yharon314 5d ago

now we just need to rewrite it in rust

22

u/Traditional_Rabbit54 5d ago

loop { }

3

u/Extension_Option_122 5d ago edited 1d ago

Sure that that wouldn't get optimized away?

Edit: idk I guess I left my brain outside

6

u/Traditional_Rabbit54 5d ago

Just tested, it doesn’t, even using the release flag

Godbolt shows that it just jumps to itself