3 ms·
Julia also requires subsets of the language. Try writing rolled array expressions (in a loop or otherwise) in Julia and in Numba and see which one is faster.
by Nrpf 11y ago
Julia also requires subsets of the language. Try writing rolled array expressions (in a loop or otherwise) in Julia and in Numba and see which one is faster.
Also try IO or text processing in Julia. Python is known to be faster right now.
- tavert 11y agoCounterpoint - try user-defined types (classes) in Numba.
- Nrpf 11y agoUser defined types/classes are currently being worked on in an open PR. Excellent counterpoint for the time being, though. Aside- Do you know if multiple inheritance/traits will happen at some point? I need this for modeling, even though it can be worked around for general software architecture.
- tavert 11y agoLikely. There's some recent discussion at https://github.com/JuliaLang/julia/issues/6975#issuecomment-160857877 https://github.com/JuliaLang/julia/issues/6975#issuecomment-... regarding taking inspiration from Clojure's protocols. There are a few different Traits and Interfaces packages floating around showing proof-of-concept implementations. Couldn't give you a timeline on when it'll make it into master, but it should happen.
- Nrpf 11y agoThanks. The link seemed still to be single inheritance focus (sorry, I don't know the right terminology I come from a OO background.) but I could be wrong. Though I did get the sense that its just a interim step towards multi inheritance. What about the dataframe and stats infrastructure? its currently in shambles. Any Idea when this can be expected to be fixed?
- tavert 11y agoStats and dataframes now has someone working full time on it. It will get appreciably better soon.
- Nrpf 11y agoVery glad to hear that. Anywhere roadmap/ central place where I can contribute and follow progress?
- tavert 11y agoHopefully there will be a blog post soon with some details and plans.
- Nrpf 11y agoLooking forward. I was about to embark with python on a new long term project, but I might delay that pending the new blog post. If possible do you have a guestimate on what sort of time window we are looking at for this blogpost? Days, weeks, month?
- tavert 11y agoProbably not days. I won't be the one to write it so I can't make any especially reliable predictions here. If enough people ask for this, probably some time in January.
- pjmlp 11y ago> Also try IO or text processing in Julia. Python is known to be faster right now. Back when I used Python (early 2000's), that was actually C code, if I remember correctly. The question is with IO and text processing implemented in pure Julia and pure Python, except for the OS FFI, which JIT compiler provides the best implementation?