3 ms·
> The bit I used Julia it appeared you need to be in the third category to do as well as you get in the first category with Fortran. I'm not too knowledgeable
by phonebucket 6y ago
> The bit I used Julia it appeared you need to be in the third category to do as well as you get in the first category with Fortran.
I'm not too knowledgeable about Julia, though I have done a couple of side projects using it. To my mind, Julia lies in the second category:
Write small, pure functions. If performance is still bad, then profile it and make the functions smaller until the number of allocations is small.
Apart from being sensible engineering practice, I think the above recipe suffices to write fast Julia in most circumstances I could think of.