News for hackers. Stuff that matters.

Nrpf

Re:Code that will break in Python 4 on Tuesday January 12, 2016 @07:49PM (#10891548)
Its also for general programming.
Re:Code that will break in Python 4 on Tuesday January 12, 2016 @07:01PM (#10891363)
What do you think about Julia?
Re:Code that will break in Python 4 on Tuesday January 12, 2016 @05:29PM (#10890896)
Julia
Re:How to Make Python Run as Fast as Julia 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?
Re:How to Make Python Run as Fast as Julia on Wednesday December 16, 2015 @07:55PM (#10748694)
Type unstable Julia is often slower than python.
Re:How to Make Python Run as Fast as Julia on Wednesday December 16, 2015 @06:20PM (#10748160)
Actually no. Naive Julia is often slower than python. Vectorized Array expressions are on par with numpy and slower than numba.

"type unstable", IO and text processing code is also slower.

Re:How to Make Python Run as Fast as Julia 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 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 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 on Wednesday December 16, 2015 @10:43AM (#10744939)
no its not. Rcpp is cpp syntax and semantics. Look at the Numba example..its pure python with one decorator.
Re:How to Make Python Run as Fast as Julia on Wednesday December 16, 2015 @10:40AM (#10744912)
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.

Re:How to Make Python Run as Fast as Julia on Wednesday December 16, 2015 @10:38AM (#10744895)
Right now, numba is a better compiler than Julia has. You can write array expressions and loops in numba and it will do fusion/deforestation to eliminate temporaries giving you faster vectorized in loop code than Julia currently does.

Of course, this is currently being worked on in julia as well, but I don't see your point.

The dev team is pretty responsive and prioritize adding features based on bug reports like this. Can you open an issue?

https://github.com/numba/numba

Or you can use Numba to write gil free imperative code as well.
Re:Why Julia's DataFrames Are Still Slow on Sunday November 29, 2015 @11:04PM (#10647619)
You mean IRLS or SGD or something like that?
Re:Julia Computing Granted $600k by Moore Foundation on Tuesday November 17, 2015 @03:27PM (#10583720)
Any tidbits about whats in store for the stats ecosystem? Tidyr/Dplyr style workflow? Flexible and Generalized stats MLE/ Bayesian modeling using distributions? Streaming and out of core support? What will the timeline be like?

I'm trying to make an architecture decision right now and this would be helpful (and whet my curiosity :p)

Re:Python C API, PyPy and the road into the future on Monday November 16, 2015 @10:49PM (#10579058)
Or you can use numba and with pure python syntax and get really fast.
Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @02:57PM (#10570902)
Actually I'm waiting for 3 based....
Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @02:37PM (#10570790)
"many of the cons in the language will be solved"

Can you elaborate on this?

Re type system, how does it compare to python in use?

Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @01:49PM (#10570581)
Thanks for your honesty re the web stuff.

I agree multi dispatch is awesome, and python has some implementations of it as well.

http://matthewrocklin.com/blog/work/2014/02/25/Multiple-Disp...

Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @12:50PM (#10570332)
Can't you call out to python with pycall for that?
Re:Can a Wandering Mind Make You Neurotic? on Sunday November 15, 2015 @10:57AM (#10569928)
Is it possible to have both? Quiet your mind and be in the moment for physical stuff but call on its rumination powers to think when needed?
Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @10:55AM (#10569920)
Yes escher is amazing thanks :)

"more natural for general purpose modeling of data than, say, Python's classes"

Can you elaborate? In most cases single dispatch does just fine. Then class = type except much slower

Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @10:33AM (#10569840)
Is this going to get us better dataframes and nullable integration?
Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @09:39AM (#10569709)
Makes sense. But regardless, the core language is better than go in almost every way (as far as I know)... and it has python like syntax. I wonder if thats enough.
Re:Julia Computing Granted $600k by Moore Foundation on Sunday November 15, 2015 @09:38AM (#10569704)
What python solutions are scatterbrained? Have you tried Numba?
What do you think about Julia?

Older »