Hacker News with Generative AI: Self-Modifying Code

Writing a Self-Mutating x86_64 C Program (2013) (ephemeral.cx)
“Why would you ever want to write a program that changes its code while it’s running? That’s a horrible idea!”
A tiny self-remaking C program (humprog.org)
In my last post I floated the idea of writing a slow, edit-prone shell script instead as a self-rebuilding C program.