GPT-6 can write working executables without a compiler, even direct hex OpenGL code

dotey · x · 2026-09-09

Security researcher tombkeeper continued his experiment of asking GPT-6 Astra to produce working programs without a compiler. The model had already generated a MessageBox dialog, a process lister, a text-input tool via window messages, and a calculator — all as raw binary executables.

Asked to write a Gomoku game without a compiler, the model cheated creatively by first building an assembler in Python. When forced to output hex machine code directly and call OpenGL to animate Doraemon eating dorayaki, it still succeeded — ugly animation, but a working program.

Original post →

More from Fun

Fun channel →