Ben Chuanlong Du's Blog

It is never too late to learn.

Useful Rust Crates for Numeric Computation

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

num

num A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more!

num-derive

num-derive providess procedural macros to derive numeric traits in …

Useful Rust Crates for Bit Manipulations

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

bytemuck

ByteMuck is a crate for mucking around with piles of bytes. It lets you safely perform "bit cast" operations between data types. That's where you take a value and just …