Hi all,
In the last years there has been an increasing interest towards Rust, where the safety is perhaps the feature that makes it to stand out. This makes it very appealing in the embedded world.
However, C language is still considered the king in the embedded world. Furthermore, due to the long experience we have with it, we have learned how to code “defensively” e.g. by using a subset of it, by avoiding dynamic memory allocation, etc, plus there are a number of guidelines like Misra-C, etc. On top of that, today we also have static analyzers, unit test framework, linters, etc. that help us a lot to write “correct” code.
Given that, it feels like that the gap in safety in actually not that big as it could seem at first glance, but C win hands down in terms of history, number of people who know it, support, legacy systems, etc.
What is your view?
Let’s exclude the option “why don’t learn both”. :)
Videos
I'm an embedded SW engineer with abt 10 years of experience in C (RTOS, baremetal).
As an exercise I'd like to extend myself by learning a new language.
I'm curious to know what others think will be more useful in the industry in the next 10 years for embedded development? Or potentially some other language I've missed.
I already have a good knowledge of C++ (although not tonnes of experience).
edit: spelling
I am willing to be a good Embedded Programmer and I have seen C/C++ in job requirements. Since I have no experience in C++ .I'm thinking about will it affect on working when I will do real things at work? Some others are telling me to learn Rust. I'm confused what should I do?
Im a complete newbie to embedded dev. As someone coming from higher level languages like JS, TS, and Java, I found Rust way better to use than C.
Im currently building a chip8 emulator in Rust, and want to build a RISC-V OS in Rust once this is done, so I can understand computer architecture. I was curious if I should keep going in Rust or if I should switch to C so that I can understand how computers treat memory better, and then move to Rust once I get good at low level dev in C.
Also if anyone has some advice, courses or a roadmap for my low level development journey, thatd be appreciated.