&gt; The lesson is clear: do not write Python code as you would do in C.  Use numpy array operations rather than iterate on arrays.  For me it meant a mental shift.<p>This was actually one of the main motivators for me to learn Julia. No need to vectorize loops. Looping through things is idiomatic Julia code that the compiler knows what to do with.