News for hackers. Stuff that matters.

dklend122

Re:Python 3.11 beta vs. 3.10 benchmark on Wednesday May 18, 2022 @11:30AM (#31424013)
What are the goals and positioning of pyston given these other efforts?
If packages use generic indexing functions like eachindex, there would be no correctness issue with that specific example
That's exactly where Dex might improve over Julia, with language level control over mutability and effect handlers and array access safety ... time will tell.

So packages just use those features

Maybe it will hit the right trade off, or maybe Julia will adopt similar language level tools, but adjusted for dynamic semantics. Is that even possible?

Re:Jax vs. Julia (Vs PyTorch) on Thursday May 05, 2022 @01:13AM (#31269763)
Please see my comment here: https://news.ycombinator.com/item?id=31269739

Based on the above, I expect more than marginal improvements in these areas. Would you agree?

Re:Jax vs. Julia (Vs PyTorch) on Thursday May 05, 2022 @01:10AM (#31269739)
There are several repeating (valid) critiques. There is also a sense that things won't get better. I don't think that's necessarily the case.

I can't give timelines, but I'll list the themes and point to the very active work going on in those areas:

1. Static analysis/ it's hard to write large codebases of correct Julia code.

That's being addressed on several fronts:

a. Work on both traits/interfaces and sound static typing is progressing in Jan Vitek's group at Northwestern

b. User extensible type lattice for correctness proof of programs. See here: https://news.ycombinator.com/item?id=26136212

c. Jet.jl already catches method errors at JIT time. It's under-used IMO.

2. Compilation time and package dev latency.

a. We're getting close to native code caching, and more: https://discourse.julialang.org/t/precompile-why/78770/8

As you'll also read, the difficulty is due to important tradeoffs Julia made with composability and aggressive specialization...but it's not fundamental and can be surmounted. Yes there's been some pain, but in the end hopefully we'll have something approximating the best of both worlds.

b. Runtime free static compilation: https://www.youtube.com/watch?v=YsNC4oO0rLA

c. Semantics for separate compilation: https://gist.github.com/JeffBezanson/dd86043ef867954bd7e2163...

Some combination of the above should also address deployment scenarios, whether that be CLI, mobile, browser or even embedded (Yes, with an (expanding) subset of code, StaticCompiler can produce binaries down to the 10s of Kbs with real working Julia programs that use non trivial abstractions like subtyping and higher order functions)

3. Zygote is rough

a. Enzyme will do (almost) whole language AD, including mutation.

b. Diffractor.jl

Cool! Is this built on genie and stipple? Will they remind free and mit licensed?

How will integration with python work ?

Re:Julia frameworks to create desktop GUIs and web apps on Thursday January 06, 2022 @04:43PM (#29830685)
Can you please open up an issue on Jet.jl? Even if you can't provide a MWE, it would be helpful to share these experiences
Cool! Looking forward to seeing some of the trait work
Hi, cool paper! semi related questions:

What do you think of JET.jl?

Tension between Method ambiguities and desire for traits or multiple inheritance is something discussed in the community. Has your group given any thought to this?

Thanks !

Re:Generic GPU Kernels on Tuesday December 07, 2021 @07:59AM (#29471929)
Yes, but that's only required for one of those packages.

One of Julia's benefits is that the compiler is hackable so high level abstractions can be experimented with in user space.

Re:Supercharged high-resolution ocean simulation with Jax on Monday December 06, 2021 @05:12PM (#29466364)
There's work being done to solve this in Julia. See escapeanalysis.jl and the immutable array pr in base
Re:Growing open source from Torch to PyTorch on Friday August 06, 2021 @09:04AM (#28086587)
In Julia it's easy to run the entire thing on CUDA: https://github.com/fabricerosay/AlphaGPU

No C or any other language required because Julia has GPU codegen.

You can also keep MCTS on the CPU and be competitive with cpp despite the code being higher level, easier to read and more generic and composable. See: https://github.com/jonathan-laurent/AlphaZero.jl

Re:Growing open source from Torch to PyTorch on Friday August 06, 2021 @09:00AM (#28086545)
Yea, I meant parity for vanilla ML models. For anything off that beaten path it's much much faster
Re:FastAI.jl: FastAI for Julia on Tuesday July 27, 2021 @06:27PM (#27978422)
Note: This is a sanctioned adaptation by members of the Julia community.
Re:Julia Computing raises $24M Series A on Friday July 23, 2021 @02:21PM (#27933979)
That makes sense, thanks ! Good luck to you as well.
Re:Julia Computing raises $24M Series A on Monday July 19, 2021 @11:56AM (#27884015)
Composability, speed, static analysis, type system, abstractions, user defined compiler passes, metaprogramming, ffi, soon static compilation, differentiability and more create an effect that far exceeds numba
Re:Julia 1.6 addresses latency issues on Friday May 28, 2021 @10:18AM (#27315592)
Can you please post a pointer to the thread in question?
Re:Julia 1.6 addresses latency issues on Tuesday May 25, 2021 @07:44PM (#27284280)
Can you give some examples?
You hardly need python for models at this point. There are native julia implementations of linear regression, naive bayes, gradient boosting, random forest, PCA, T-SNE and more.

The python interop is just a stopgap

Check out the " Model composability" section. Also multithreading, custom differentiable loss functions, works with any abstract table type, and the list goes on
Re:Julia 1.6 Highlights on Thursday March 25, 2021 @03:50PM (#26584578)
You only pay for it on the first run.
Re:Julia 1.6 Highlights on Thursday March 25, 2021 @12:29PM (#26582256)
That's coming. Pieces are there but still need polish and integration. Fib was around 44kb with no runtime required.

Check out staticcompiler.jl

Re:Crystal 1.0 – What to expect on Tuesday March 23, 2021 @11:01AM (#26555838)
Julia can also generate fast code for arrays of small unions

Older »