Today I Learned

2025/11/24

asm x86_64 arm64 x86 arm binary

That there’s a “rotate bits left” instruction in all major instruction sets:

Rust exposes this as a safe const by-copy method on numeric primitive types: https://doc.rust-lang.org/std/primitive.u32.html#method.rotate_left