| I've often read that people have a problem with Python's startup time, but that's not at all my experience. Yes, if you're going to import numpy or pandas or other heavy packages, that can be annoyingly slow. But we're talking using Python as a bash script alternative here. That means (at least to me) importing things like subprocess, pathlib. In my experience, that doesn't take long to start. $ cat helloworld.py
#!/usr/bin/env python3
import subprocess
from pathlib import Path
print("Hello, world!\n") $ time ./helloworld.py
Hello, world! real 0m0.034s
user 0m0.016s
sys 0m0.016s 34 milliseconds doesn't seem a lot of time to me. If you're going to run it in a tight loop than yes, that's going to be annoying, but in interactive use I don't even notice delays as small as that. As for packaging complexity: when using Python as a bash script alternative, I mostly can easily get by with using only stuff from the standard library. In that case, packaging is trivial. If I do need other packages then yes, that can be major nuisance. |
It certainly takes more effort for this to be a problem on modern x86 systems.