News for hackers. Stuff that matters.
Re:Julia adoption keeps climbing by sgt101 on Monday January 18, 2021 @07:11AM (#25820930)
Julia is way superior if you are building programs and systems, especially if you are building for sustained use (rather than something to do a job once). Julia is less error prone, more expressive, more maintainable, more performant.

But if you are creating cut and shut scripts for data science notebooks Python wins... the repl start time alone is a killer for Julia, add in the requirement to actually think about structure and the problem and it's out of my "3 -> 6hr" workflow.

Re:Julia adoption keeps climbing by fsh on Monday January 18, 2021 @07:19AM (#25821005)
Julia is amazing for numerics, but the JIT is painfully slow for anything that gets looped only a few times or not at all. I don't think it is usable as a general purpose language until this gets improved somehow.
Re:Julia adoption keeps climbing by sgt101 on Monday January 18, 2021 @07:24AM (#25821063)
But is that a problem apart from in scripting? If you ain't looping you ain't waiting in my experience.... Can you give an example which isn't time to plot?
Re:Julia adoption keeps climbing by fsh on Monday January 18, 2021 @07:57AM (#25821328)
I think that a slow JIT is problematic in any application except for non-interactive numerical calculations. For example in a GUI software or in a server application it would be very undesirable to have each function run a million times slower the first time it gets called.
Re:Julia adoption keeps climbing by sgt101 on Monday January 18, 2021 @08:32AM (#25821580)
For GUI's I don't see this as an issue - JITs run alot faster than humans. All of Javascript is on a JIT - and thats the dominant UI for now! For servers generally you find that users are all calling the same function so it's very rare that you hit a blip - much more commonly users get performance problems from something else in the stack like the network or the client, and while Javascript is the dominant front end the dominant back end for servers is Java and that's got a JIT as well.
Re:Julia adoption keeps climbing by jpsamaroo on Monday January 18, 2021 @08:53AM (#25821752)
JavaScript's JIT is a tracing JIT, so it can compile code in the background while the interpreter/less optimized compiled code is actually running. In Julia, the compiler runs first, and then the compiled code is run. This will probably eventually change as Julia's compiler improves, but regardless, it's important to note this distinction.
Re:Julia adoption keeps climbing by pjmlp on Monday January 18, 2021 @11:31AM (#25823387)
It can make use of JIT caches (if it doesn't already), not every JIT compiler starts from zero.