Less risk of crashes (e.g. due to leaks or segfaults) that could cause expensive aftereffects and may are hard to update depending on the accessibility of the deployed hardware?

Reply to this note

Please Login to reply.

Discussion

all memory is allocated statically in this use case and invalid memory accesses are very unlikely to happen

Is there parallel or concurrent execution?

Concurrent.

Rust is still safer by default when concurrency is involved. There are C/C++ techniques to narrow the gap (MISRA) as well as formal verification systems (Frama-C). You can also liberally define critical sections by disabling interrupts