Neither are memory safe.
Ada/SPARK would be another option but it doesn’t get any press nowadays, and I doubt there is much support from MCU vendors given that they don’t support the trendy languages.
Ada/SPARK would be another option but it doesn’t get any press nowadays, and I doubt there is much support from MCU vendors given that they don’t support the trendy languages.