3 ms·
A few personal takes on the microcontroller/embedded rust side: I've been fiddling a lot with the stm32 and rust over the past several months. The fact of the m
by axegon_ 5y ago
A few personal takes on the microcontroller/embedded rust side: I've been fiddling a lot with the stm32 and rust over the past several months. The fact of the matter is that having rust at your disposal feels like you are given a set of high quality scalpels compared to the otherwise good old C. I mean having a package manager and easy access to third party libraries is an absolute heaven and it's a very enjoyable experience. BUT... It is enjoyable once you have everything up and running of course, which on the other hand is a huge pain in the ass. I feel like there is a gap to be filled between plugging in an embedded board and running a simple "blink the led" program. Unlike say an arduino(or even a raspberry pi pico which I genuinely dislike after fiddling with it as well), where you simply plug it in, open the arduino IDE and click "Upload". If someone dumbs the process down to something like that for Rust, I feel like it would completely take over this niche.
- SAI_Peregrinus 5y agoHave you tried Ferrous Systems' probe-run? It's basically that.
- drran 5y agoMy attempts on this: https://github.com/vlisivka/rust-arduino-blink https://github.com/vlisivka/rust-arduino-blink - just minimal blink https://github.com/vlisivka/rust-arduino-hello-world https://github.com/vlisivka/rust-arduino-hello-world - just print "Hello, world" to serial port. https://github.com/vlisivka/rapt https://github.com/vlisivka/rapt - little shell for pin testing (turning them on/off via serial port).
- SV_BubbleTime 5y ago> BUT... It is enjoyable once you have everything up and running of course, which on the other hand is a huge pain in the ass. Yes. I’ve been waiting for this for a few years. For someone to dumb down and actually support this process. I can’t leave C and my IDEs behind. I can’t jump into a new product with RUST if there is no official support anywhere. I’m not payed to tinker with a setup, I’m paid to make embedded products that solve customer problems. Give me an IDE. Or someone make a serious effort at Rust with VS Code or whatever IDE and some real package support. I’ll be there with dollars in hand. I look at how much money and effort things like Zephyr or MicroPython get and it’s so strange that things with a ton of competition already or niche toys draw bigly - but something like Rust for embedded gets a couple of people making crates here or there.