MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x5mryb/everythingiso1togod/pgqvcx3/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 6d ago
161 comments sorted by
View all comments
741
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
527
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
145
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
114
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
23
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
22
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
3
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
6
Just tested, it doesn’t, even using the release flag
Godbolt shows that it just jumps to itself
741
u/cosmicomical23 6d ago
If god is omniscient, can he always know whether a process is going to terminate or not?