Let me add: learn Fortran or C. These are substantially faster than Matlab, unless you are a vectorization wizard. And even then, it is not going to be as fast and your Matlab code will become unreadable with all of the wizardries and very hard to debug. https://twitter.com/pilossopher/status/1283329218265448459
There is also a myth that Fortran and C are difficult. Just spend a month (actually, much less than that) to learn and practice. Yes, they are more labor intensive (we need to declare all variables, code lots of auxiliary functions that are built in, etc), but one gets used to it
Modern Fortran is very intuitive. Very different from the spaghetti code that old Fortran required. I frequently first code in Matlab to debug and to get a feel of the program and then translate it to Fortran.
Interesting reference benchmarking different languages: https://www.nber.org/papers/w20263.pdf
You can follow @dix_rafael.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled:

By continuing to use the site, you are consenting to the use of cookies as explained in our Cookie Policy to improve your experience.