Comment by lokar

1 day ago

It’s a hack with many disadvantages. Sometimes a hack is the right answer, but the kernel should it add a primitive for it.

Should bash link in every program the user might want? Load them up as dynamic libraries?

  • Bash as an interactive tool is very different. It is used to run an almost arbitrary number of things, and a pretty low rate.

    Bash as a programming language is just a bad idea.

  • Node, Python, PowerShell, and the rest do (almost) just that. launchd and systemd famously strived to remove as much shell from the start up process as possible because it was harming boot times and introducing unpredictability.