cgmath-rs VS rand

Compare cgmath-rs vs rand and see what are their differences.

rand

A Rust library for random number generation. (by rust-random)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cgmath-rs rand
4 29
1,101 1,577
1.9% 1.1%
0.0 8.3
over 1 year ago 2 days ago
Rust Rust
Apache License 2.0 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.

cgmath-rs

Posts with mentions or reviews of cgmath-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-02.
  • Hey Rustaceans! Got a question? Ask here! (31/2022)!
    11 projects | /r/rust | 2 Aug 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.
  • Any plans for built-in support of Vec2/Vec3/Vec4 in Rust?
    11 projects | /r/rust | 29 Jul 2022
    But I am writing a Vulkan-based game engine and I use https://crates.io/crates/cgmath extensively. It has vector classes, all the math functions I need, and it even supports a version of swizzling if you activate the feature. Maybe this crate can do what you need?
  • I want to change my point of view by key input in glium.
    3 projects | /r/rust | 11 Jul 2021
    There's also a good crate which you can use to quickly create the required matrices called cgmath: https://crates.io/crates/cgmath
  • Rendering large 3D tilemaps with a single draw call at 3000 FPS
    1 project | /r/gamedev | 6 Apr 2021
    One great thing about Rust is that the library ecosystem is surprisingly mature, especially considering how young the language is (1.0 was released in 2015). C# also has good libraries, but from my experience it's kinda fiddly to use most open source libraries with Unity, at least without modifications. Rust's ecosystem has some excellent libraries that help with game development, such as noise for procedural generation and cgmath for linear algebra.

rand

Posts with mentions or reviews of rand. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-11.

What are some alternatives?

When comparing cgmath-rs and rand you can also consider the following projects:

nalgebra - Linear algebra library for Rust.

fastrand - A simple and fast random number generator

glam-rs - A simple and fast linear algebra library for games and graphics

fast-float-rust - Super-fast float parser in Rust (now part of Rust core)

rust-gmp

winapi-rs - Rust bindings to Windows API

Ruma - A set of Rust crates for interacting with the Matrix chat network.

yew - Rust / Wasm framework for creating reliable and efficient web applications

rust-GSL - A GSL (the GNU Scientific Library) binding for Rust

cargo-fuzz - Command line helpers for fuzzing

blas - Wrappers for BLAS (Fortran)

rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266