Jun 10, 2021
Hello Christopher,
Thank you for your comment.
I’m not sure OOPS is mandatory for device programming.
In fact in “device programming” you have at least two important layers :
- the embedded OS & libs, where OOPS is not really welcome because are looking for energy efficiency, performance, hardware fine control, etc…, then Rust is quite perfect for that (and yes Fuschia is the perfect exemple).
- The UI part where you have to manipulate objects like buttons, windows, text areas and so on. Here OOPS is massively used because it’s a convenient way to abstract UI elements.
But I’m pretty sure we can also manage UI objects via something like Structs and method receivers (like we have in Go or Rust) by managing complexity with composition rather than inheritance.