Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simeonschaub
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
simeonschaub
5y ago
It reads to me like ATL is actually more of a tensor compiler than a general-purpose language. In fact, I'd actually be curious if we could lower (subsets of) Julia to ATL, let it optimize the tensor expressions and transpile everythin
2.
▲
by
simeonschaub
5y ago
In Julia you would just use an array of views for this, which can represent slices of arrays without any copies: julia> struct Muon p_T::Float64; phi::Float64; eta::Float64; end julia> a = reint
3.
▲
by
simeonschaub
5y ago
> how is running in debug compiled mode different than just...running the code normally? It's not. By default, the debugger will recursively interpret any nested function calls until it encounters any intrinsics, since breakpoints c
4.
▲
by
simeonschaub
5y ago
I would not go as far as calling it very naive, there has certainly been some work put into optimizing performance within the current design. There are probably some gains to be had by using a different storage format for the IR though as p
5.
▲
by
simeonschaub
5y ago
Yes, it uses Debugger.jl, which relies on JuliaInterpreter.jl under the hood, so while you can tell the debugger to compile functions in certain modules, it will mostly interpret your code. You might be interested in https://gith
6.
▲
by
simeonschaub
5y ago
Julia already comes with an interpreter, try starting your session with `julia --compile=min`. One part of the ongoing effort to reduce latencies is to allow package authors to specify optimization levels on a per-module basis. This is grea
7.
▲
by
simeonschaub
5y ago
Check out https://github.com/fredrikekre/jlpkg . It does pretty much exactly what you are describing.