Hey everyone,
I've been diving into the world of software design, and one topic that has caught my attention is portability. I'm trying to understand the concept better and its implications in writing code that can be easily adapted to different platforms or targets.
Specifically, I'm curious about how you handle different versions of a target architecture, such as an 8-bit or 16-bit PIC microcontroller. Would you write separate code for each version, or do you aim for a more generalized approach? Additionally, what about developing portable code that can be used for both PIC microcontrollers and ARM-based platforms?
I look forward to your insights and experiences
I've been diving into the world of software design, and one topic that has caught my attention is portability. I'm trying to understand the concept better and its implications in writing code that can be easily adapted to different platforms or targets.
Specifically, I'm curious about how you handle different versions of a target architecture, such as an 8-bit or 16-bit PIC microcontroller. Would you write separate code for each version, or do you aim for a more generalized approach? Additionally, what about developing portable code that can be used for both PIC microcontrollers and ARM-based platforms?
I look forward to your insights and experiences