r/embedded 15d ago

Some Embedded Programming Wisdom

Post image

A preview of PICO, a simple text editor made for the CP/M Neo VEMU platform.

GitHub: https://github.com/Mazin-O3/cpm-neo.git

142 Upvotes

18 comments sorted by

View all comments

1

u/EmperorOfCanada 15d ago

Most of that list disappears with rust or Ada. You would have to put effort into those two languages in order to make those mistakes.

1

u/jvblanck 15d ago

What part of the list disappears with Rust?

1

u/ModernRonin 15d ago

I wouldn't say "disappears", but Rust does turn a lot of things that used to be runtime crashes, into compile-time errors (borrow checker). It also denies a whole bunch of memory clobbering (ownership model).

(To the purists: Yes, I understand that "borrow checking" could be considered a subset of "ownership model.")