So I was reading this blog post about building Rust software for OpenWRT: https://blog.dend.ro/building-rust-for-routers/
Rust is not exactly my first choice when it comes to embedded programming. It adds a bit of overhead and takes up significantly more storage. However, it is possible to strip final binaries down to make them a lot smaller. They are still big compared to C but they can fit. Also it isn't too hard to link Rust binaries with uclibc.
If some software were to be written in Rust would it be possible to include it in OpenWRT as an official package? I know that OpenWRT is focused on C (for good reason) and I am not sure if the way OpenWRT is built could easily accommodate Rust.
Also, are there any other memory safe programming languages that would be better for building OpenWRT software? C is fast and simple but the needed development time is much longer. Rust seems to be pretty popular these days but I am also curious about Go or anything else like it.