News for hackers. Stuff that matters.
Re:Julia: Dynamism and Performance Reconciled by Design (2018) by jey on Monday October 26, 2020 @05:19PM (#24901550)
Try to use the REPL more instead of re-running your program from scratch. I just do `include("blah.jl")` then re-run my testcase.
Re:Julia: Dynamism and Performance Reconciled by Design (2018) by jjoonathan on Monday October 26, 2020 @05:26PM (#24901646)
Ah, the statefulness foot-gun. It'll solve all your problems... if your problem is having feet!

Ok, that's a little mean, there's nothing quite as convenient and simple as a REPL or notebook for ad-hoc caching, but sometimes you need the opposite and the language really needs to support that.

Re:Julia: Dynamism and Performance Reconciled by Design (2018) by attractivechaos on Monday October 26, 2020 @05:36PM (#24901763)
I often chain unix tools, domain-specific binary executables and python scripts in shell. Julia feels very slow for this type of workflow. A few years ago there were discussions about whether Julia could replace Python. No way just due to Julia's long startup time.
Re:Julia: Dynamism and Performance Reconciled by Design (2018) by jjoonathan on Monday October 26, 2020 @05:47PM (#24901880)
Ditto.

I can't wait for Julia to murder Python but before it can do that it needs to push all delays out of the interactive parts (to include both REPL and cold launch) and into the package management parts, where people will tolerate delays. Anaconda decided to stick a full SAT solver into the package management and it's every bit the shitshow that you'd expect, frequently taking 30 minutes to solve and failing to converge, but people tolerate it because it's in the package management.

Re:Julia: Dynamism and Performance Reconciled by Design (2018) by attractivechaos on Monday October 26, 2020 @06:11PM (#24902106)
I have been using anaconda much less often due to its long resolving time... That said, I fully agree with you that Julia should cache precompiled binaries. Lacking this key functionality is a misstep from the very beginning.
Re:Julia: Dynamism and Performance Reconciled by Design (2018) by gbrown on Monday October 26, 2020 @05:34PM (#24901745)
That's my least favorite thing about R - it just looooves to save state unless you configure it otherwise. This is also why I've had trouble adopting Julia in the past - I've adopted the habit of constantly resetting my workspace or working from scripts to avoid exactly this issue, so my habits are somewhat Julia-hostile.

I'm giving it another go though, since it seems like it could be really useful for algorithm-adjacent research.