4 ms·
Hello world program measures startup time which is not what julia is optimized for right now. I''ve heard that they are looking into it but it is not as importa
by j605 8y ago
Hello world program measures startup time which is not what julia is optimized for right now. I''ve heard that they are looking into it but it is not as important as startup time in python where we have a lot of python scripts as binaries which are executed repeatedly or interactively(like "hg status").
- ChrisRackauckas 8y agoJulia v0.7/v1.0 comes with an interpreter which doesn't have any JIT startup time (because it's an actual interpreter). It's slow because it cannot use precompiled code yet, which is why it's not documented, but it's on the "more to come" list.
- sivakon 8y agoDo you have a link to share? Sounds interesting.
- ChrisRackauckas 8y agoIt's one of the things being developed on the down low right now, but you can find PRs like: https://github.com/JuliaLang/julia/pull/24473 https://github.com/JuliaLang/julia/pull/24473 which are making this: https://github.com/JuliaLang/julia/blob/master/src/interpreter.c https://github.com/JuliaLang/julia/blob/master/src/interpret... a compilation-free version of Julia. At the same people there is discussion about how to cache native compilation results after precompilation, so that way packages can store all of their compiled code and users can directly use it without compilation through the interpreter. This second part isn't done yet, but it'll be interesting to see what happens when it has a truly dynamic + precompiled form.