Hacker News new | ask | show | jobs
by gaigalas 28 days ago
One of the reasons for using dash is speed. It's so fast, it allows people to write programs that were not viable before.

The pure shell C compiler is an example of that: https://gist.github.com/alganet/2b89c4368f8d23d033961d8a3deb...

It's portable among the most popular shells, but much faster on dash. It's obviously a gimmick, but also a way to stress the interpreters past their usual breaking points.

osh fails at it because of multi-command/block-level alias (I opened an issue with a simplified reproduction).

---

Options are good. Shell is amazing at that, lots of interpreters to serve all kinds of users and use cases.