Hacker News new | ask | show | jobs
by Nrpf 3839 days 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.

2 comments

> 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?

Counterpoint - try user-defined types (classes) in Numba.
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.

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.
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?

Stats and dataframes now has someone working full time on it. It will get appreciably better soon.
Very glad to hear that. Anywhere roadmap/ central place where I can contribute and follow progress?