Greetings all, I found out about rust a while back and have been toying with the idea of trying to use it on an embedded device. In an ideal world, I think it would be nice to use rust on say the Raspberry Pi [1] or an mbed [2]. I have used clang to compile code for the mbed before, so I know the code generation components will get there eventually. However, one aspect of embedded programming that would be difficult to do currently with rust is accessing memory mapped I/O (MMIO) pins and accessing values that can be manipulated in a signal.
I understand that most people do not understand the volatile keyword and it is very commonly misused, but it does serve a very important purpose in embedded and low level programming. I could always try to write anything that requires MMIO or signals in C and just call it from rust, but that feels unsatisfactory. So I was wondering if this seems like a valid use case for rust or is it out of the scope of the current purpose of the language? -- John Harrison 1. http://www.raspberrypi.org 2. http://mbed.org _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
