• Jordan_U@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    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.