On Sunday, September 21, 2014 12:21:37 PM UTC-7, Jason Trenouth wrote: > > On Sunday, 21 September 2014 19:23:20 UTC+1, Jason Merrill wrote: >> >> I got curious, and ended up implementing this myself: >> > > I was trying to see how little I could change the code to speed things up > while showing off some aspects of Julia. >
Yeah, totally, and I think that's valuable. It's nice to know that "you, yes you! can probably port your python code to Julia and get it working today." But I'm advocating that you're missing a lot of the benefit (and a lot of the fun!) if you don't then massage your code to take advantage of Julia's strengths. If I read your post without knowing anything about Julia, I think I might conclude "oh, great, Julia is another language that's good for writing recursive factorial, but the performance improvements aren't so impressive for real algorithms like Viterbi." I wouldn't bother porting my code to a whole different language for a 26% performance improvement, unless maybe I was trying to get a few more fps in a game or something like that.
