this post was submitted on 16 Jan 2024
25 points (93.1% liked)

Rust Programming

8414 readers
97 users here now

founded 5 years ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

Interesting repo and seems useful as a teaching aid, the algorithms seem to be written with a focus on readability.

However, if you actually need to do any of these operations in production I would recommend finding an optimised and well tested implementation instead. This is especially important for the cryptographical algorithms! But even for something like counting set bits, modern x86-64 CPUs even have a built in instructions for that (POPCNT).