Hobby

Finding Nice MD5s Using Rust

A journey to try out Rust's SIMD and inline assembly

妖夢ちゃん published on
27 min, 5251 words

At the start of the week, a friend of mine sent me a link. "What an interesting yet pointless question!", both of us agreed. Later that day, another link was also sent to me. Apparently there was someone who did care a little bit. Out of curiosity, I opened the find_md5.py file, and it hit me: "How can I optimize this task?" The task did shout SIMD to me, and I knew rust has core::arch which provides many SIMD intrinsics. Hence my journey to try out Rust's SIMD and inline assembly began.

Read More