Electronics > Microcontrollers

About Rust in embedded

(1/12) > >>

uliano:
Curious, I periodically make some effort to get a little more into this topic and then I usually get lost somewhere (mostly due to out of date introductory material and lack of documentation  |O ).

I just stumbled upon this fresh new YouTube channel and I think he's really off on the right foot, if only for the lack of "uhmmm..."ing. The quality of both content and editing is really outstanding. Let's hope he can keep up with this.

(disclaimer, I have nothing to do with that guy)

Edit: for whatever reason the link was missing  :-DD

https://www.youtube.com/@therustybits/videos

josfemova:
imho the problem with embedded Rust adoption is the lack of good quality, easy-to-follow training material as you point out. In part this is due to the majority of development following a "perf supremacy" mentality, which fair enough is a valid tradeoff and SDKs in other languages make it, but the issue is that there is no "Arduino" or "CircuitPython" for Rust.

And like, is not like the current crates in the ecosystem are "bad", but a simple observation to make is that it became way easier to introduce people to embedded C when Arduino came out. In Rust it feels like you don't get anything under the difficulty level of learning to work with CMSIS-based SDKs which of course.

The current situation is that Rust is great to use If you already know some stuff about fw dev, but not so great to onboard someone into fw dev

nctnico:
And realistically performance is not very critical for a large part of embedded software as a significant part of embedded software is dealing with interfacing to the outside world. Security is way more important. I foresee languages like Lua and (more likely) Python taking over in embedded programming.

Siwastaja:

--- Quote from: josfemova on April 09, 2024, 05:13:28 am ---imho the problem with embedded Rust adoption is the lack of good quality, easy-to-follow training material as you point out.

--- End quote ---

To be fair, try to find good-quality, easy-to-follow embedded training material which uses C - or any other language, for that matter. So even for a mature language which everyone uses, the good tutorials / documentation simply never comes, therefore it is unrealistic to expect Rust would do better here.

uer166:

--- Quote from: Siwastaja on April 09, 2024, 06:19:45 am ---
--- Quote from: josfemova on April 09, 2024, 05:13:28 am ---imho the problem with embedded Rust adoption is the lack of good quality, easy-to-follow training material as you point out.

--- End quote ---

To be fair, try to find good-quality, easy-to-follow embedded training material which uses C - or any other language, for that matter. So even for a mature language which everyone uses, the good tutorials / documentation simply never comes, therefore it is unrealistic to expect Rust would do better here.

--- End quote ---

I'd argue lack of decent cross platform tools (from vendors ideally) is a bigger barrier.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod