I prefer ARM assembly. Adding the following Rust compiler option “–target=aarch64-unknown-linux-gnu”, the output of the Compiler Explorer will be ARM assembly
![](https://frehberg.com/wp-content/uploads/2022/02/image-1024x226.png)
Another example, analyzing the generated code on ARM64 performing a bit-count, using the instruction CNT from vector unit.
![](https://frehberg.com/wp-content/uploads/2022/02/image-2-1024x263.png)