Hacker News new | past | comments | ask | show | jobs | submit login

The difference is that in Julia one stays within the language, doesn't need to use subsets of the language or optimized C libraries where the language plays a glue role.

I would agree with the article if Cython and Numba would support 100% Python or Numpy wasn't used to achieve similar execution speed.




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.


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


Hopefully there will be a blog post soon with some details and plans.


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?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: