scinim
The core types and functions of the SciNim ecosystem (by SciNim)
ndarray_comparison
Benchmark of toy calculation on an n-dimensional array using python, numba, cython, pythran and rust (by synapticarbors)
scinim | ndarray_comparison | |
---|---|---|
1 | 3 | |
35 | 24 | |
- | - | |
4.2 | 0.0 | |
5 months ago | over 2 years ago | |
Nim | Jupyter Notebook | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scinim
Posts with mentions or reviews of scinim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-10.
-
Comparing a Rust extension to other methods of speeding up python
I have never tried nim, but according to nimpy's README, it looks like you can work with Numpy arrays via the buffer protocol or scinim. I'd be curious to see how it performs.
ndarray_comparison
Posts with mentions or reviews of ndarray_comparison.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-18.
-
Faster Python calculations with Numba: 2 lines of code, 13× speed-up
I use numba quite a bit at work and it's fantastic. I recently, however, did a comparison between numba, cython, pythran and rust (ndarray) for a toy problem, and it yielded some interesting results:
https://github.com/synapticarbors/ndarray_comparison/blob/ma...
Most surprising among them was how fast pythran was with little more effort than is required of numba (still required an aot compilation step with a setup.py, but minimal changes in the code). All of the usual caveats should be applied to a simple benchmark like this.
- Comparing a Rust extension to other methods of speeding up python
What are some alternatives?
When comparing scinim and ndarray_comparison you can also consider the following projects:
nimpy - Nim - Python bridge
nodevectors - Fastest network node embeddings in the west
nimporter - Compile Nim Extensions for Python On Import!
OpticsPolynomials.jl - Polynomials used in optics. Zernike, Legendre, etc
PyCall.jl - Package to call Python functions from the Julia language
fbpic - Spectral, quasi-3D Particle-In-Cell code, for CPU and GPU
Numba - NumPy aware dynamic Python compiler using LLVM