num
A collection of numeric types and traits for Rust. (by rust-num)
num-bigint
Big integer types for Rust (by rust-num)
num | num-bigint | |
---|---|---|
3 | 4 | |
990 | 504 | |
2.3% | 1.6% | |
4.6 | 7.0 | |
8 days ago | 9 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
num
Posts with mentions or reviews of num.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-05.
-
I've been learning Rust for 3 days and this is my first impression
Use num: https://github.com/rust-num/num
- BigInts in std?
-
A single issue with Rust that kills me every time with mathematics (rust repo issue 20671)
The num crate is worth a look - they do implement some of these things via macros. https://github.com/rust-num/num
num-bigint
Posts with mentions or reviews of num-bigint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-24.
-
Announcing Rust 1.59.0
I'm trying div for real: https://github.com/rust-num/num-bigint/pull/236
-
Revisiting Prechelt’s paper and follow-ups comparing Java, Lisp, C/C++ and scripting languages (incl. CL VS Java VS Rust benchmark)
Using an enum to simulate dynamic typing: https://github.com/philipc/prechelt-phone-number-encoding/tree/rust-number. This should be similar to the performance improvements from something like https://github.com/rust-num/num-bigint/issues/36, which means suboptimal use doesn't hurt as much.
-
A single issue with Rust that kills me every time with mathematics (rust repo issue 20671)
edit: See for example https://github.com/rust-num/num-bigint/blob/7562ab24330792817e42b808f60b0cac51ca261a/src/macros.rs
- [2020 Day 23] Indiana Jones and the Crab Raft
What are some alternatives?
When comparing num and num-bigint you can also consider the following projects:
derive_more - Some more derive(Trait) options
num-primes - A Rust Library For Generating Large Composite, Prime, and Safe Prime Numbers
Nu - Repository hosting the open-source Nu Game Engine and related projects.
OpenZKP - OpenZKP - pure Rust implementations of Zero-Knowledge Proof systems.
advent-of-code - See https://adventofcode.com
style - css for rust
pipe-trait - Make it possible to chain regular functions
prechelt-phone-number-encoding - Comparison between Java and Common Lisp solutions to a phone-encoding problem described by Prechelt
proc-macro-workshop - Learn to write Rust procedural macros [Rust Latam conference, Montevideo Uruguay, March 2019]