ASM Forge: Assembly-Level Optimization
Optimizes Rust code performance through assembly inspection, codegen auditing, and iterative benchmarking using cargo-show-asm.
ASM Forge is a specialized Claude Code skill designed for deep performance engineering in Rust. It moves beyond high-level profiling by examining the assembly code actually emitted by the compiler to identify bottlenecks like unnecessary bounds checks, register spills, and missed SIMD opportunities. By integrating cargo-show-asm for inspection and Criterion for empirical validation, it follows a rigorous 'Forge Loop' to ensure every source-level change results in measurable, instruction-level improvements, eliminating guesswork from the optimization process.
Características Principales
01Deep codegen auditing to identify panic paths, register spills, and ILP bottlenecks.
02Iterative benchmarking workflow with Criterion to validate performance gains.
03Cross-referencing with ISA-specific guides for x86-64 and AArch64.
04Automated diffing of assembly before and after optimization attempts.
05Automated assembly collection using cargo-show-asm for Intel and ARM architectures.
062 GitHub stars
Casos de Uso
01Identifying and eliding persistent bounds checks that the compiler fails to optimize out.
02Verifying that 'clever' Rust optimizations actually leverage SIMD instructions as intended.
03Squeezing maximum performance out of hot loops in high-performance computing or systems programming.