←back to thread

12 points dacsson | 1 comments | | HN request time: 0.211s | source

I know that ~70% of embedded systems are programmed with C, lots of movement or at least motivation is seen on moving to Rust. My question is: why this languages are good for embedded software development? And overall what would constitute a good PL for this domain?
Show context
runjake ◴[] No.43731315[source]
- Simple syntax and easy to read.

- Compiles down to efficient machine code.

- Very well documented.

- Preferably the language is close to the metal.

I avoid using C practically everywhere these days, but tend to prefer it for embedded programs for the above reasons,

replies(2): >>43739888 #>>43760447 #
1. Davidbrcz ◴[] No.43760447[source]
Great list.

I would add ability to build abstraction to model the the problem you are dealing with.

Nothing it more bug prone when everything is a int.