4 ms·
Oh my GOD he is writing shell scripts in Java? This man has the patience of the gods. Not because of the writing, but because he actually has the time to wait
by quasarj 5y ago
Oh my GOD he is writing shell scripts in Java?
This man has the patience of the gods. Not because of the writing, but because he actually has the time to wait for Java programs to start when he wants to run a small shell script?
You could run 5000 bash scripts in the time it takes java to load. You could run 500 python scripts.
What is this guy smoking!
- selfhoster11 5y agoBeanshell starts up pretty quickly. Besides, Bash scripts take an eternity to write safely and aren't really suitable for any sort of heavy calculations or string manipulation without resorting to arcane syntax. I would say it's an all-around good alternative to Python scripts when one outgrows Bash due to requirements.
- mtmmtm 5y agoI have also written some shellscripts in java (i did not smoke anything). If startuptime would be an issue (normally it is not) i would just use graal-vm to compile it. Just do this: "native-image script"