Hacker News new | ask | show | jobs
by m3koval 4707 days ago
Matlab is much faster. For a sense of scale, a relatively simple image processing script ran 125 times faster in Matlab than Octave. This is, most likely, because Matlab has a better code optimizer.

I don't see a compelling reason to use Octave unless you're trying to avoid paying for a Matlab license. If you're going to switch tools, why not switch to NumPy/SciPy and get the advantage of using a full-featured programming language?

1 comments

The "code optimiser" you're talking about is "just" a JIT compiler. Loops in Octave are slow. They were slow in Matlab too, but then they got a JIT compiler.

We're currently working on a getting a JIT compiler into Octave too. Here are two GSoC blogs about it:

    http://octave-jitc.blogspot.ca/
    http://jit-octave.blogspot.ca/