Better HN
topnewbestaskshowjobs
Log inSign up

dklend122

503 karma · joined Mar 22, 2020 (6y ago) · 111 submissions

Submissions

comment 4y ago · link · parent

What are the goals and positioning of pyston given these other efforts?

comment 4y ago · link · parent

If packages use generic indexing functions like eachindex, there would be no correctness issue with that specific example

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

How will integration with python work ?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Cool! Looking forward to seeing some of the trait work

comment 4y ago · link · parent

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 !

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

There's work being done to solve this in Julia. See escapeanalysis.jl and the immutable array pr in base

12.

China beats Google by launching fastest programmable quantum computer(scmp.com ↗)

1 points · by dklend122 · 5y ago · discuss

13.

AlphaZero Running on GPU with Julia(github.com ↗)

2 points · by dklend122 · 5y ago · discuss

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Yea, I meant parity for vanilla ML models. For anything off that beaten path it's much much faster

16.

Julia FastAI Live Q&A(twitter.com ↗)

3 points · by dklend122 · 5y ago · discuss

comment 5y ago · link · parent

Note: This is a sanctioned adaptation by members of the Julia community.

18.

FastAI.jl: FastAI for Julia(forums.fast.ai ↗)

196 points · by dklend122 · 5y ago · 23 comments

comment 5y ago · link · parent

That makes sense, thanks ! Good luck to you as well.

20.

GPU Programming in Julia(youtube.com ↗)

2 points · by dklend122 · 5y ago · discuss

comment 5y ago · link · parent

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

22.

Julia Computing raises $24M Series A(hpcwire.com ↗)

378 points · by dklend122 · 5y ago · 238 comments

comment 5y ago · link · parent

Can you please post a pointer to the thread in question?

comment 5y ago · link · parent

Can you give some examples?

25.

Algebra of Graphics: A fresh approach to datavis(juliaplots.org ↗)

3 points · by dklend122 · 5y ago · discuss

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Check out the " Model composability" section. Also multithreading, custom differentiable loss functions, works with any abstract table type, and the list goes on

comment 5y ago · link · parent

You only pay for it on the first run.
1234