logoalt Hacker News

sitzkriegtoday at 2:28 AM2 repliesview on HN

rust is still a non starter in some niche embedded applications (way too big). i still write c and assembly constantly.


Replies

steveklabniktoday at 2:45 AM

> way too big

https://github.com/tormol/tiny-rust-executable

This produces a 137 byte binary. Obviously AMD64 isn't used in embedded, but I've seen ARM ones that are in the ~256 range.

It's all in how you use it. Of course, if you don't care about binary sizes, they can get large, but that's very different than actually paying attention to what you're doing.

show 1 reply
swiftcodertoday at 5:52 AM

> niche embedded applications

How niche are we talking? Rust is deployed on a bunch of popular microcontrollers at this point