There's primarily 3 methods that I use for multi-arch programming:
1. Vector-scalable programming: Let's me target arbitrary vector sizes. Two of my GitHub repos uses it, but not to an extreme.
2. Metadata Objects: Described here. Targets non-trivial differences between ISAs not related to vector length. Not in any of GitHub repos.
3. Include Dispatching: Let's me specialize routines for cases where Metadata Objects falls short of giving me the control that I need. This isn't new or anything. And one of my GitHub projects uses it, but not the extent that my Pi program does it.