This paper finds that Rust on an microcontroller costs you about 10% extra flash...
Jonathan ‘theJPster’ Pallant @thejpster@hachyderm.io
This paper finds that Rust on an microcontroller costs you about 10% extra flash space, actually saves you a bunch of RAM, and takes no extra time to deliver (as compared to C).
Seems about right - especially as the C version needed a heap and the Rust version did not.
https://arxiv.org/abs/2604.25679
Edit: replaced URL of PDF with URL of abstract