Re:So Many Research Scientists, So Few Openings as Professors
by mattkrause on Thursday July 14, 2016 @06:22PM
(#12097643)
Yeah, I'm not sure I believe that either--it's calling the same libraries python calls. It is possible to write matlab code that runs incredibly slowly--using eval to make anonymous functions calls to (badly-strided) individual elements of an array--but decent matlab and numpy code should be pretty comparable.
> It's not Matlab, it's that most people who write Matlab code aren't professional programmers
This, 1000x, this. There's also the time-honored tradition of a quick one-off script "to see if it works" that somehow becomes permanent.
Re:So Many Research Scientists, So Few Openings as Professors
by eli_gottlieb on Thursday July 14, 2016 @06:38PM
(#12097730)
Eh. It's more that Matlab code can either call out to fast linear-algebra libraries or go through an interpreter, and you have to memorize which language constructs do which. I'm definitely a professional programmer, but I still can't write fast Matlab code for that reason.
Seriously, Matlab = MATrix LABoratory. It's a DSL for matrix math, and it's really pleasant to use for that.
Also, my Matlab code is a joy to read. It's not Matlab, it's that most people who write Matlab code aren't professional programmers / don't care about making it pretty.