3 ms·
Bash is slower. That's why a major Linux distribution would switch to NetBSD Almquist sh. On a Linux distribution, generally, bash is always found in the user
by 1vuio0pswjnm7 3y ago
Bash is slower. That's why a major Linux distribution would switch to NetBSD Almquist sh. On a Linux distribution, generally, bash is always found in the userland. But for scripting (non-interactive use), it's big and slow.
- znpy 3y agoIf i'm writing shell scripts i'm not caring about speed anyway. The "slowness" of bash versus some other shell is likely irrelevant, most of the time will be spent forking and executing other binaries anyway.
- 1vuio0pswjnm7 3y agoWhat if the people administering Debian project are writing shell scripts. Why do they use Dash instead of Bash. Who cares, right. The speed difference is substantial. It's noticeable. This is indisputable. I would never use Bash for scripting when faster alternatives are available. But who cares, right. The fact that Bash is big and slow is independent of what any HN commenter chooses to do or not do. It is a fact indepedent of any decision a particular script author chooses to make.