Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by quixoticelixer- on Monday October 26, 2020 @05:23PM
(#24901614)
It's a bit annoying but you should only have to precompile once and it doesn't take that long
[ Parent
| on HN ]
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by systemvoltage on Monday October 26, 2020 @05:52PM
(#24901923)
That's not true though. It's everytime I want to do anything with Julia, I need to wait upto a minute or two. Gadfly takes ages to pre-compile.
Closed your terminal session? You're outta luck. Wait 2 mins please. Launch a notebook and want to start working on something? Wait 40 seconds. Wanna check something quick in Julia REPL session? Wait 7 seconds. Let me run this Julia script, wait 55 seconds.
I feel like the entire community should stop doing what they're doing and fix this issue. I am afraid, it is difficult to fix otherwise it would have been fixed by now.
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by daedalus_f on Monday October 26, 2020 @06:33PM
(#24902303)
This is also roughly my experience (though I haven’t tried 1.6 yet) and it really a shame - I much prefer Julia’s syntax to R’s (my primary language) and would love to switch for statistics work.
The problem is perhaps that I largely do fairly simple statistics and plotting, with scripts that in R usually take seconds rather than minutes to run, and the disadvantages of the requirement to compile the code overcomes the compiled speed advantage.
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by FranzFerdiNaN on Tuesday October 27, 2020 @03:50AM
(#24905236)
I have the same use case as you describe and it's not unreasonable to conclude that right now Julia simply does not offer anything that R does not. It seems most Julia users are more in fields like numerical computing or scientific simulations and such, where it does offer clear advantages. But if you just want to run some of the statistical tests you learn in undergrad or want to explore some data R is just a better choice right now.
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by roywiggins on Monday October 26, 2020 @07:55PM
(#24903002)
You can speed this up using a custom system image, but the usability of it kinda sucks.
https://julialang.github.io/PackageCompiler.jl/dev/examples/...
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by jjoonathan on Monday October 26, 2020 @05:31PM
(#24901710)
Then they should have the package manager do it. Or the package maintainer.
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by eigenspace on Monday October 26, 2020 @05:53PM
(#24901928)
The current release candidate for 1.6 does exactly that. In parallel.
Re:Julia: Dynamism and Performance Reconciled by Design (2018)
by jjoonathan on Monday October 26, 2020 @06:14PM
(#24902141)
Sweet!