Hacker News new | ask | show | jobs
by yau8edq12i 764 days ago
It's not much of a "runtime", though. How is it better than a plain executable?
2 comments

It's not, really. The claim would be that it's portable, but bash can be a little finicky in that respect.

The documentation didn't mention what version of bash is required, but it'll be something. And plenty of systems will have old versions of bash - especially once you move out of the world of "my laptop" - obviously.

As has been mentioned elsewhere, it makes many times more sense to just learn bash, than to learn this. You likely already know some, and it excels at the jobs it's designed for - which is chiefly to launch processes and pipe output around. Subshells are elegant, even if making sure everything launched by your script is 100% finished before you exit can be a pain.

I doubt Amber fixes that problem in any case.

Ok if your scripting language compiles to plain stand-alone executables and has good built-in support for processing shell commands and their IO.