4 ms·
>>> Moreover their software is finely optimized for it. What's been impressive is that emulated code optimized for x86 runs faster on the M1. If more developer
by pmart123 6y ago
>>> Moreover their software is finely optimized for it.
What's been impressive is that emulated code optimized for x86 runs faster on the M1. If more developer mindshare focuses on ARM optimizations and specifically writing software for the M1, the performance gains likely will even be more significant. That said, these chips are designed for a single computer, which hasn't been much of a focus area for Intel/AMD the past few years.
- therealcamino 6y agoA minor correction, Rosetta 2 is binary translation, not emulation. In most cases, after a one-time translation, it's running as a native ARM executable, with less runtime overhead than emulation. It'd be interesting to know how close the code quality is to what you'd get from generating ARM code from the compiler. The jump from compiling to the M1 may not be too big if the translation is good. Another question is whether it's equally able to take advantage of the specialized execution units. It'd be interesting to know whether the native M1 compiler can target those units directly or if they're mostly used by Apple's libraries. I'd bet on the latter, although since there's no overhead of transferring data to the GPU, I wonder if there's any opportunity there to expand usage there.
- johnwalkr 6y agoIt's very impressive and I don't know why having software optimized to the hardware is a demerit point. That /is/ part of the impressive part. The CPU and Rosetta2 are obviously designed to complement each other and the results speak for themselves on day one. The fact that little more than a recompile is needed to make native binaries (obviously lots of exceptions to that) is also impressive and a testament to the work done until now on iOS/iPhone/iPad ecosystem. Of course, some minor complaints that old 32-bit apps don't work, even on intel systems. Meanwhile we're on year 8 of false starts for Windows on ARM. In contrast to apple, a 10 year old 32-bit x86 app might work, but a recent app probably won't.
- webmobdev 6y ago> It's very impressive and I don't know why having software optimized to the hardware is a demerit point. It definitely isn't! The point was that we should consider both software + hardware together when praising the performance of the M1. That is why comparing the M1 with an Intel / AMD processor is like comparing Apples to Oranges. :)