num-bigint
OpenZKP
num-bigint | OpenZKP | |
---|---|---|
4 | 2 | |
503 | 622 | |
1.4% | 1.0% | |
7.0 | 0.0 | |
8 days ago | about 1 year ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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-bigint
-
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
OpenZKP
-
Donald Knuth’s Algorithm D, its implementation in Hacker’s Delight and elsewhere
Here is my optimized in-place Rust implementation [1].
It is a very tricky algorithm to get right. There are many edge cases that only happen for ~2^-64 fractions of the input space, so hard to find even with fuzz-testing. Best strategy is to implement it for small limbs first, and fuzz that well.
[1] https://github.com/0xProject/OpenZKP/blob/master/algebra/u25...
-
A single issue with Rust that kills me every time with mathematics (rust repo issue 20671)
I've also hit this issue while writing code generic over prime fields by-reference. I ended up defining traits FieldLike and RefFieldLike and anotating all functions as
What are some alternatives?
num-primes - A Rust Library For Generating Large Composite, Prime, and Safe Prime Numbers
libtorsion - C crypto library
num - A collection of numeric types and traits for Rust.
Nu - Repository hosting the open-source Nu Game Engine and related projects.
nim-stint - Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
advent-of-code - See https://adventofcode.com
style - css for rust
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]
rfcs - RFCs for changes to Rust