With tiny C programs, it would be nice to be able to add #! /usr/bin/cc at the top with some option that made it not error on the unknown pragma, and auto-run the resulting output file in a temp directory.
Linux kernel's binfmt allows you to configure arbitrary interpreters for arbitrary file types. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html …,https://blog.cloudflare.com/using-go-as-a-scripting-language-in-linux/ …