3 ms·
Is this cross compilation to x86 or a native compile to Arm? That could be playing an important role if it's easier to optimize and emit code for one architectu
by bigdict 6y ago
Is this cross compilation to x86 or a native compile to Arm? That could be playing an important role if it's easier to optimize and emit code for one architecture versus the other.
- boudin 6y agoI was wondering that also. Based on Twitter comments it seems that he was compiling to arm, so there's a bit of comparing apple and pears there.
- ithkuil 6y agodepends how you're looking at it: if what you care is your edit-compile-run cycle, what matters is how long does it take to compile it to the architecture where you'll actually run the app, which for interactive builds where speed matters most is supposedly your local machine.
- mlyle 6y agoMaybe, but architecture-specific stuff is a relatively modest part of compiling. And in any case, if you're going through compile-test-run cycles, the fact that it might be easier/quicker on ARM is hardly a ding against it.
- yarcob 6y agoI don't know about Rust, but when compiling some Swift + ObjC code on a DTK, the target architecture made very little difference.