Because a shell is an ergonomic programming language. If you compile a binary then you're implementing another programming language interpreter.
AFAIK the Go jupyter kernel does something like this but it sequentially links previous compilation results to the current cell. Memory use is probably not great for a shell care though (since each linked Go library is a whole separate Go runtime).
Comments
Because a shell is an ergonomic programming language. If you compile a binary then you're implementing another programming language interpreter.
AFAIK the Go jupyter kernel does something like this but it sequentially links previous compilation results to the current cell. Memory use is probably not great for a shell care though (since each linked Go library is a whole separate Go runtime).