-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I'm not sure if this is is the right spot for this issue. Let me know where I can move it if not.
I believe Rust support on these boards would be a killer feature. This would allow programmers to use this 21st century language that is much safer, friendlier, and just as fast as c/c++. It also compiles down to bytecode for the microcontroller so no runtime is needed.
I'm not sure how much work would be needed. There's a chance that it wouldn't be much! Heck, I'm running rust on a Cortex M3 at home right now. There's a whole rust-embedded team working for Cortex M4 support, and many boards are already supported. https://github.com/rust-embedded/wg
Also I found this repo which looks like it has Apollo3 peripheral support in rust: https://github.com/rgcottrell/ambiq-apollo3-pac
Thanks for taking this into consideration! I don't want to sound too sensational, but I can't help it: I think if Sparkfun came out as a leader in embedded-rust, it could be the start of an embedded software revolution. I think Rust on silicon is the next big stage that the embedded community will find. In addition to the benefits listed above using Rust would also add a great package manager, debugging capabilities, unit testing, and modern code semantics (for example: higher order functions (myList.map(|item| item * 2)) and algebraic data types). Not to forget, I think Rust support on the Artemis boards would also be a good business move for Sparkfun.