Y
Hacker News
new
|
ask
|
show
|
jobs
by
garaetjjte
1731 days ago
Not really, as fork() involves COW so nothing is really copied, and subsequent SIGKILL will only remove process structures, not data itself.
1 comments
emptyparadise
1731 days ago
I think that opens a whole new can of worms for philosophical debates but the paradox still stands.
How would a sentient AI feel about executing `if (fork() > 0) { exit(0); }` in its own process?
link
How would a sentient AI feel about executing `if (fork() > 0) { exit(0); }` in its own process?