787
STOP WRITING C
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
For years I wrote embedded C for 8 bit microcontrollers used in industrial controls.
Never again.
Rust is by far a better language for embedded. The only times I would consider it reasonable to write embedded code in C is if you're doing it for fun, or you depend on an existing and well tested / audited codebase or library and your application logic is less complicated than rust to C FFI.
Even then, you won't find me contributing to that effort.