4 ms·
>I use Julia a lot for shell like scripting. That seems absurd. $ time julia -e 'print(1+1, "\n")' 2 real 0m0.996s user 0m0.664s sys
by fnord123 9y ago
>I use Julia a lot for shell like scripting.
That seems absurd.
$ time julia -e 'print(1+1, "\n")'
2
real 0m0.996s
user 0m0.664s
sys 0m0.367s
$ time python3 -c 'print(1+1)'
2
real 0m0.160s
user 0m0.080s
sys 0m0.033s
Almost a second just to print a number in Julia. This makes it unattractive for shell scripting. Startup performance is an open issue in Julia and smart people are working on it (I hope); but it's not there yet.