Re:How to Make Python Run as Fast as Julia
by pjmlp on Wednesday December 16, 2015 @11:17AM
(#10745197)
> 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?
Re:How to Make Python Run as Fast as Julia
by tavert on Wednesday December 16, 2015 @10:48AM
(#10744980)
Counterpoint - try user-defined types (classes) in Numba.
Re:How to Make Python Run as Fast as Julia
by Nrpf on Wednesday December 16, 2015 @10:55AM
(#10745039)
User 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.
Re:How to Make Python Run as Fast as Julia
by tavert on Wednesday December 16, 2015 @11:06AM
(#10745125)
Likely. There's some recent discussion at 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.
Re:How to Make Python Run as Fast as Julia
by Nrpf on Wednesday December 16, 2015 @11:23AM
(#10745256)
Thanks. 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?
Re:How to Make Python Run as Fast as Julia
by tavert on Wednesday December 16, 2015 @11:57AM
(#10745533)
Stats and dataframes now has someone working full time on it. It will get appreciably better soon.
Re:How to Make Python Run as Fast as Julia
by Nrpf on Wednesday December 16, 2015 @11:58AM
(#10745547)
Very glad to hear that. Anywhere roadmap/ central place where I can contribute and follow progress?
Re:How to Make Python Run as Fast as Julia
by tavert on Wednesday December 16, 2015 @07:38PM
(#10748624)
Hopefully there will be a blog post soon with some details and plans.
Re:How to Make Python Run as Fast as Julia
by Nrpf on Wednesday December 16, 2015 @07:57PM
(#10748703)
Looking 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?
Also try IO or text processing in Julia. Python is known to be faster right now.