#[repr(Interoperable_2024)]

Imho, it would be really neat to end up with an ABI that works across different ISAs, such that I could have a function in x86_64 call a function in AArch64 call a function in RV64GC, etc. This mostly requires memory layouts (structs, enums, etc.) to be identical, different register layouts and calling conventions can be handled using trampolines. Trampolines can't handle translating between different memory layouts in the general case, since some things just can't be moved, such as a shared atomic variable.

I have some ideas for how to implement a processor that has a reprogrammable decoder such that it can easily be made to run any ISA you can think of...

https://bugs.libre-soc.org/show_bug.cgi?id=841