|
|
|
|
|
by fusslo
957 days ago
|
|
Rust looks nicer and nicer. Is anyone familiar with RAM/Memory requirements as compared to c? Every microcontroller project I've worked on, as we approach maturity, goes through a round of freeing up ram and code space. Usually deleting strings, removing debug functionality, or shortening datatypes.. etc Can I write rust code with the same footprint as c code? |
|
You still have to like, actively think about binary size in order to get things to be that small. But the smallest x86_64 binary rustc has ever produced is 137 bytes. How small your program is up to you, not Rust.
EDIT: Oh yeah, I left a similar comment with more details about a year ago: https://news.ycombinator.com/item?id=34032824