4 ms·
Python startup times suck though. On my system `python3 -c 'print("hello world")'` takes 60-70ms. In contrast equivalents with bash or lua both are in 1-2ms ran
by zokier 2y ago
Python startup times suck though. On my system `python3 -c 'print("hello world")'` takes 60-70ms. In contrast equivalents with bash or lua both are in 1-2ms range. The difference is definitely noticeable.
- frfl 2y agoKnow your tools. If you're writing a script you run once in a while, 60-70ms is meaningless. If you're running it 10x a minute or more, sure reach for that fast startup language. As comments here suggest, lua isn't much of a bash replacement. Happy to hear your alternatives and suggestions for bash.
- zokier 2y agoOP did explicitly mention startup time as one of their criteria though