[julia-users] Re: some Python / Julia comparisons
On Saturday, 20 September 2014 18:45:31 UTC+1, stone...@gmail.com wrote: > > Hi Jason, > > Could it be possible for you to create a Julia program to compare it with > the famous Jake Vanderplas post ? > http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/ > > Under which type of problem Julia fly much higher or easily than > cython/pypy/numba ? > ("much" = x3 in my mind) > > Hi, As a Julia newbie I'm not sure I'm the right person to ask to do such a bake-off, but there may be others who'll bite. __Jason
[julia-users] Re: some Python / Julia comparisons
On Sunday, 21 September 2014 19:23:20 UTC+1, Jason Merrill wrote: > > I got curious, and ended up implementing this myself: > Hi Jason, Thanks for this and your previous comment. I might play about with this some more myself, e.g. back translate to Python to compare again. Note that the original Python code was just taken from the Wikipedia page on Viterbi and was probably only meant for educational purposes. I was trying to see how little I could change the code to speed things up while showing off some aspects of Julia. __Jason
[julia-users] some Python / Julia comparisons
Hi, I converted some Python programs to Julia recently. The (probably incorrect) ramblings are here: http://a-coda.tumblr.com/post/93907978846/julia-dream http://a-coda.tumblr.com/post/97973293291/a-recurring-dream tl;dr - similar in style, but Julia can be a lot faster __Jason
[julia-users] Accumulators and Tasks
Hi, Should the following work? ( (BTW it doesn't for a variety of reasons.) # VERSION = 0.2.1 using DataStructures function produceall ( x ) for v in x produce( v ) end end data = ["a", "b", "c", "a"] ct = counter( @task produceall( data ) ) println( ct["a"] ) It looks like Accumulators/counters could be more relaxed about types? __Jason