News for hackers. Stuff that matters.
Re:Python vs. NumPy vs. Nim by narimiran on Friday May 11, 2018 @02:42PM (#17049814)
> What about Numba?

I'll copy-paste my Reddit comment:

Like pypy, numba was also on my radar, but I couldn't make it work by just slapping `@jit` decorator to the original code, and I didn't want to go into figuring out what's wrong nor making modifications to the original code.

>> I suspect it should be on par with Nim.

Somebody else [0] has run a comparison including Numba, where Numba is 1.5x faster than NumPy.

This means, if we can compare tests on the different machines, that Nim should be about 2x faster than Numba.

[0] https://github.com/henryiii/framework_compare/tree/master/li...

----

> What about Cython?

I haven't tried it. It would be interesting to see the results.

There are no comments on this comment yet.