Re:Amber – the programming language compiled to Bash
by fluidcruft on Wednesday May 22, 2024 @10:28AM
(#40441443)
Only the ancient GPLv2 bash is actually ubiquitous and you might as well just target POSIX's sh if that's the argument.
Because it's easy (for most cases) to write backwards-compatible or portable shell scripts and, since Amber is compiled, it can simply generate backwards-compatible code.
> That would cut against the idea that bash can target more devices than Python, which runs natively on all platforms.
The point is that Bash is more ubiquitously available, which is important if you write something like an install script.