News for hackers. Stuff that matters.
Re:What Python Fixes by masterj on Wednesday June 02, 2010 @04:24PM (#1399235)
Since both (I assume) are calling the same BLAS and LAPACK libraries underneath the scripting niceness, it's likely they're very similar in speed.
Re:What Python Fixes by hugh3 on Wednesday June 02, 2010 @07:27PM (#1399833)
Of course it depends what you're trying to do. I'm pretty sure that numpy/scipy have a lot more overhead than Matlab for everything that _isn't_ just a blas/lapack call, but I don't have the numbers to back it up.

I do know that I tried rewriting one of my C++ codes using scipy/numpy and it was about a hundred times slower for that particular task (which did happen to involve very large matrices, approaching the limits of memory).

Re:What Python Fixes by infinite8s on Thursday June 03, 2010 @03:06PM (#1402178)
From experience that kind of slowdown for pure numeric algorithms happens when your numpy/scipy code is structured in a way that it makes extra unnecessary copies.