News for hackers. Stuff that matters.
Re:Rediscovering Hamming Code by juxhindb on Monday April 19, 2021 @06:53AM (#26861238)
In fact that is one of the follow-ups I want to have out of this. Have architecture-specific optimisations (popcnt on x86) either manually through something like the `asm` crate, or by having a simpler algorithm that the compiler can optimise away.
Re:Rediscovering Hamming Code by juxhindb on Monday April 19, 2021 @07:10AM (#26861355)
An extension to this infact is the following - https://github.com/llvm-mirror/llvm/blob/f36485f7ac2a8d72ad0...

So the original user's comment might infact get detected by this and get optimised down to using popcnt. Will need to try it out. :-)