Re:GNU Octave: A high-level interactive language for numeric...
by cbkeller on Saturday January 19, 2019 @02:44AM
(#18945873)
I've been porting over a bunch of my old academic Matlab to Julia. It's obviously nowhere as close to Matlab syntax as Octave is, but it's a lot closer than Python. YMMV of course, but there are enough similarities that a decent proportion of my code has worked after pretty easy find/replace changes like switching array indexing from parentheses to square brackets. And I usually end up with something that runs about 2x faster than the original Matlab, which is always nice.
[ Parent
| on HN ]
Re:GNU Octave: A high-level interactive language for numeric...
by Q6T46nT668w6i3m on Saturday January 19, 2019 @11:15AM
(#18947692)
Totally. Julia (and NumPy) made a savvy decision adopting MATLAB semantics (and occssiaonally syntax) for many multi-dimensional array creation and manipulation operations. It usually takes me an afternoon or less to port complex methods written in MATLAB to NumPy.