3 ms·
Julia is great if you can afford to spend 5 minutes sitting around for your session to load, but most people have things to do.
by physicsguy 5y ago
Julia is great if you can afford to spend 5 minutes sitting around for your session to load, but most people have things to do.
- amkkma 5y agoWhen's the last time you've tried it? Load times are way better. New improvements for code caching have been merged in 1.8, and native code caching is coming in 1.9. It's a complex problem due to Julia's aggressive specialization and composability, so you can't just expect Julia to do it like other compiled languages. Check out this recent writeup from a core dev: https://discourse.julialang.org/t/precompile-why/78770/8 https://discourse.julialang.org/t/precompile-why/78770/8
- ninjin 5y agoJulia has its own heap of issues, but five minutes is a load of bull: > time julia -e 'using Plots; plot(rand(10, 5), rand(10))' ________________________________________________________ Executed in 5.77 secs fish external usr time 5.74 secs 214.00 micros 5.74 secs sys time 0.57 secs 0.00 micros 0.57 secs This is also on a fairly old version at that: > julia -v julia version 1.6.3 Regardless, this conversation was to be about Cython; it which deserves a lot of praise in its own right as a tool in your toolbox to make the blasted snake run faster.
- adgjlsfhk1 5y agoAlso, if you make a sysimage, startup time can be reduced to <1s. This doesn't get a ton of publicity because many of the more active Julia devs are developing lots of packages and/or developing Julia which makes this less applicable to them, but if you are waiting more than a few seconds to load packages that you aren't a developer of, sysimages are a wonderful quality of life improvement.
- pjmlp 5y agoHow many times a day are you starting sessions?
- bigbillheck 5y agoI don't use julia, but I start python sessions multiple times per day.
- physicsguy 5y agoI work in Python, but I might restart, create new sessions, etc anywhere between 1-100 times a day depending on what I am doing.