3 ms·
You literally picked the single package that loads the most other packages. Clearly this needs work, but just running vanilla julia without loading packages is
by StefanKarpinski 13y ago
You literally picked the single package that loads the most other packages. Clearly this needs work, but just running vanilla julia without loading packages is not bad at all these days:
$ time julia -e 'println("Hello, world.")'
Hello, world.
real 0m0.209s
user 0m0.299s
sys 0m0.104s
Julia now pre-compiles the jitted code for it's base system, and the plan is to allow the same thing for packages. As others have noted, starting up Matlab is extremely slow and starting up a full R environment isn't all that fast either, nor is starting a JVM all that speedy. Startup time alone doesn't prevent a system from being useful.
- evmar 13y agoThanks for replying! I didn't anticipate that my comment would generate so much controversy. :( I was only relating my own experience in trying out the tool, and comparing it to the tool I currently use frequently despite not liking its semantics very much: R. When I had encountered the slowness I was complaining about above, I poked around online and saw that you all were certainly aware of it and had plans to improve it. I think I even downloaded a 0.2 binary and then tried out trunk to see if it had already improved. All I had meant to say was (like Rust) that I anticipate I'll need to wait for a more complete version.
- delian66 13y ago>>Startup time alone doesn't prevent a system from being useful. Well, it does not completely ... If I run a simulation that will take 10 hours, 2 seconds is not much at all. However, it will severely reduce its usefullness in many other cases (quick&dirty scripting, testing)... Just for the record, on an i5 system: $ time julia --version julia version 0.3.0-prerelease real 0m2.156s user 0m2.119s sys 0m0.030s $time julia -e 'println("Hello, world.")' Hello, world. real 0m2.119s user 0m2.074s sys 0m0.036s In comparison, starting an equivalent ipython script takes <0.1s on the same machine.