3 ms·
One thing to factor in here is that the MBA isn't cross-compiling. It's a RISC compiler writing RISC code. To be clear though, it doesn't matter in the end if
by FireBeyond 6y ago
One thing to factor in here is that the MBA isn't cross-compiling. It's a RISC compiler writing RISC code.
To be clear though, it doesn't matter in the end if the _result_ is more productivity. But it is worth noting that under the hood, the comparison is not entirely apples to apples.
- tpush 6y agoWhy would it matter whether you emit x86 code or ARM64 code? That code that produces either doesn't get magically faster when executed on their respective archs.
- hawk_ 6y agoEdit: as had been pointed out here there is no x86 code generation happening so this doesn't apply. Yes I have seen claims from people along the lines of 'x86 code has more optimization paths in mainstream compilers for historic and other reasons'. Not sure about that, certainly can't imagine such a significant difference.
- klelatti 6y agoIt's not identical but no obvious reason why emitting ARM64 code from a compiler running on x86 hardware should be more onerous on ARM64 hardware. Plus ARM64 is not really RISC in a meaningful way - it'll still be executing microcode under the hood.