Live data from Hacker News

Using Go as a scripting language in Linux

blog.cloudflare.com

1–3 of 3 posts

Re: Using Go as a scripting language in Linux

#3

I, too, didn't realize that shebang parsing is implemented in the `binfmt_script` kernel module. Does this persist across reboots? echo ':golang:E::go::/usr/local/bin/gorun:OC' | sudo tee /proc/sys/fs/binfmt_misc/register

No, but different init systems may autoload formats based on some configuration files. Systemd, for instance: https://www.freedesktop.org/software/systemd/man/systemd-bin...