rust-ndarray
ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations (by rust-ndarray)
dasp
The fundamentals for Digital Audio Signal Processing. Formerly `sample`. (by RustAudio)
Our great sponsors
rust-ndarray | dasp | |
---|---|---|
9 | 3 | |
2,200 | 564 | |
1.8% | 3.4% | |
7.8 | 1.7 | |
1 day ago | 3 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
rust-ndarray
Posts with mentions or reviews of rust-ndarray.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-09.
-
Rust or C/C++ to learn as a secondary language?
ndarray and numpy crates provide good way to operate on numpy ndarrays from python
-
Enzyme: Towards state-of-the-art AutoDiff in Rust
I don't think any of the major ML projects have GPU acceleration because ndarray doesn't support it.
-
Announcing Rust CUDA 0.2
Not sure about ndarray: https://github.com/rust-ndarray/ndarray/issues/840
-
Signal processing library
I used basic_dsp a while back and found it lacking. I was hoping to find something that uses the ndarray datatype but i'm not seeing this yet. If you're primarily trying to learn though it might not really matter which library you contribute to. As for myself, I just picked the one that was most used and actively worked on at the time. However I keep an eye out on other libraries; if I see something take off, I might switch over. Either way you'll learn and can point to it as work accomplished.
-
Searching help for Rust Image Manipulation
Most libraries use either an older C/C++ dynamically or statically. I was looking into maybe rewriting some image manipulation functions in Rust using ndarray (which would then allow for both hardware, gpu and multithreading acceleration), but it would take a very long to get fully into the subject.
-
Dumb question: I want to overload operators like add on structs, what is the name for what I'm trying to do?
The best way would to use a crate for this, such as ndarray, which provides some good ways to do this.
-
Making Maintaining Easier
First, let me explain a crate, where old dependencies do matter. There is one very handy crate called nshare. It's used for converting images into ndarrays. The libraries between nshare converts are regularly updated, for example to support new formats or to make the usage more convenient. If one writes a new software there could be conflicts in versions of ndarray (for example), so we make sure, that nshare is always up-to-date and works with the newest versions in order to build the best code on it. Another example could be everything cryptographic. If there would be a security issue with ring we really want every dependent to be updated.
-
Linfa has a website now!
well you can represent categorical values in `ndarray` for sure (even structured arrays [here](https://github.com/rust-ndarray/ndarray/issues/32)), but the memory has to be contiguous for BLAS/LAPACK and therefore it is impossible to mix continuous and categorical values. I was thinking that we could emulate categorical values with a descriptor field for the type of each feature and then just use floats to represent them.
-
ndarray: Apply along axis
ndarray Readme links to matrix https://github.com/rust-ndarray/ndarray
dasp
Posts with mentions or reviews of dasp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-11.
- Elementary Audio: a modern platform for writing high performance audio software
-
FunDSP 0.1.0, an audio processing and synthesis library
I'd say that interoperability with dasp could be considered here. It supports no_std environment, however looks like it supports only slices rather than proper audio buffers
-
Signal processing library
There is Dasp which seems healthy (focusses on audio) and Basic_dsp which looks more like what I am looking for and which also seems maintained, but I am not sure if it is currently actually developed because the last updates seem to focus on dependency updates and documentation.
What are some alternatives?
When comparing rust-ndarray and dasp you can also consider the following projects:
nalgebra - Linear algebra library for Rust.
image - Encoding and decoding images in Rust
neuronika - Tensors and dynamic neural networks in pure Rust.
utah - Dataframe structure and operations in Rust
rust-dsp - A library for sound Digital Signal Processing, written in Rust
linfa - A Rust machine learning framework.
nshare - Provides an interface layer to convert between n-dimensional types in different Rust crates
fundsp - Audio DSP library featuring an inline graph notation for audio processing
Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
traceroute - Rust traceroute
ndarray-dsp - Digital Signal Processing algorithms on ndarray types