glam-rs
nalgebra
glam-rs | nalgebra | |
---|---|---|
5 | 22 | |
1,593 | 4,130 | |
2.8% | 1.9% | |
8.7 | 7.9 | |
13 days ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
glam-rs
- Generic modules? (like for different float types: f32, f64, arbitary rational, fixed point float, etc)
-
Hey Rustaceans! Got a question? Ask here! (43/2022)!
You could consider using a template framework instead, like Tera. Glam actually does this to generate Rust code.
-
Extracting 2d rotation angles
If you’re still concerned, we can look at the implementation for to_euler()
-
What's everyone working on this week (15/2022)?
I've been polishing glamour, the strongly typed vector math companion to glam. :-)
-
glamour: Strongly typed vector math with glam
This crate uses bytemuck to implement a zero-cost strongly typed interface on top of glam.
nalgebra
-
Peng – a minimal Rust-based quadrotor simulation pipeline
4. [nalgebra]((https://nalgebra.org) for matrix operations.
There are still a few things I'm searching for, such as a robust optimization library. Currently, I'm experimenting with [OpEn]((https://alphaville.github.io/optimization-engine) for nonlinear model predictive control, but I hope to find something akin to [acados](https://github.com/acados) in Rust. Additionally, while nalgebra is solid, I believe it still doesn't outperform [Eigen]((https://eigen.tuxfamily.org) in terms of performance, though Rust's language features might limit the possibility of implementing something like Eigen.
I'm open to suggestions and feedback! For instance, I’m still debating whether to modularize the pipeline and add async features, or whether to keep things simpler to avoid overwhelming beginner learners.
Current code statistics:
===============================================================================
-
Generics in Rust: murky waters of implementing foreign traits on foreign types
Looking into the nalgebra source code, we find that the first expression is implemented using generics
-
Xkcd 2916: Machine
Ok, so this uses https://rapier.rs/ which is very cool
Rapier, alongside https://nalgebra.org/ (which it uses underneath) has seriously good documentation and some advanced features like cross-platform determinism (something made hard by the way floating point differs between platforms)
-
Geometric Algebra to Geometric Computing Software Developers
> Some GA libraries[1][2] define types for the different kind of objects (grades)
That's nice!
This reminds of me things like, linear algebra libraries that will type-check matrices so that a 2x2 matrix can't be added to a 2x3 matrix (but then you can have a dynamic matrix that will error only in runtime), like https://nalgebra.org/ and others.
-
Has anyone worked on a math library before?
Maybe start by looking at https://nalgebra.org/ to see what rust math libraries might look like
-
faer 0.8.0 release
And Nalgebra, while better, also seems to have slowed down on commits and responses to issues and PRs. I have a PR there for a relatively simple wrapper type for row vectors which was explicitly requested by a maintainer, which hasn't even gotten a comment since for two weeks.
-
A Rust client library for interacting with Microsoft Airsim https://github.com/Sollimann/airsim-client
nalgebra (similar to Eigen in cpp)
-
What crates are considered as de-facto standard?
nalgebra
-
Science-related crates that I should have a look at?
nalgebra is for linear algebra.
-
Hey Rustaceans! Got a question? Ask here! (31/2022)!
Take a look into math libraries, like glam, nalgebra, and cgmath. I've only used these through game engines, though, so I can't offer per-basis reviews/advice.
What are some alternatives?
cgmath-rs - A linear algebra and mathematics library for computer graphics.
blas - Wrappers for BLAS (Fortran)
rust-blas - BLAS bindings for Rust
microbin - A secure, configurable file-sharing and URL shortening web app written in Rust.
rust-ndarray - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
cargo-rx - A simple, modern fuzzy finder tool to run examples in a Cargo project.
arrayfire-rust - Rust wrapper for ArrayFire
achat - A collection of simple modules which showcase simple use of tasks, channels, and other tokio primitives to implement simple networking applications. Purely educational purposes.
rulinalg - A linear algebra library written in Rust
glamour - Strongly typed vector math with glam
scirust - Scientific Computing Library in Rust