Replies: 1 comment
-
@jahess , thanks for providing your thoughts.
We leverage GitHub Actions to implement build checks across a variety of platforms including different architectures, toolchains, and OSes - see .github/workflows/build.yml as an example.
The STYLE_GUIDE.md includes the following text:
OpenThread defines a platform abstraction to minimize platform-specific dependencies within core code. Of course, there is always room to improve. We welcome any contributions that help improve on these areas. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I suggest developer reliance on containers results in software portability issues. This is ironic because containers are designed to help with dependency issues.
But, in a developer context, containers mask portability issues. It is too easy to avoid actually resolving portability issues because the software "works" in... the approved container.
I know this runs counter to prevailing practice. But it seems inefficient to having to use multiple images / containers to do development. For an example, see:
So... build on multiple different platforms. Use explicitly sized types. Judiciously use wrappers or #ifs for platforms and library version dependencies. But, hide these details from the clients of your code.
Thanks for consideration,
Jonathan Hess
Beta Was this translation helpful? Give feedback.
All reactions