An embedded software engineer proposes compiler-level optimizations to reduce binary bloat in Rust's async code, which remains inefficient despite promises of zero-cost abstractions. The author submitted a Project Goal seeking funding to implement changes including returning Pending instead of panicking when polling completed futures and eliminating panic-tracking states with panic=abort, achieving 2%-5% binary size reductions on embedded firmware.
1 comment
An embedded software engineer proposes compiler-level optimizations to reduce binary bloat in Rust's async code, which remains inefficient despite promises of zero-cost abstractions. The author submitted a Project Goal seeking funding to implement changes including returning Pending instead of panicking when polling completed futures and eliminating panic-tracking states with panic=abort, achieving 2%-5% binary size reductions on embedded firmware.