On 2020-06-24 14:42, nospam wrote:
> existing stock was sold until it was gone, with refurb powerpc macs
> selling for year or so after that.
Suspect that discontinued models that are still in stock and don't sell
eventually go to "refurb" where Apple can price them low to get rid of
them without influencing published prices for new computers.
While Apple stated 2 year transition, I suspect that it will be much
faster, as was the case for the PowerpC to Intel transition as you
pointed out.
For one thing, people will stop buying Macs now, awaiting the newer
ones. Secondly, Consider that the current lineup of Macs has seen recent
refreshes. So they are good to go without a new Intel model until the
ARM based ones come out.
So it is in Apple's own interest to go wuickly on this.
The bigger question in my mind is how the first ARN chip will be
positioned. They produced the A12 based Mac Mini for developpers. Will
the first "real" one be a truly impressive high performance one for the
"Pro" models, or would it be an iPad class chip for the MacBook/Air and
normal iMacs?
Assuming Apple comes out with the A14 for iPhones in September. From a
"wow" factor, releasing the A14-Pro chip soon after to power MacbookPro
and iMacPro and MacMini (and possibly a card for the $60,0000 cheese
grater) could impress a lot of people to show that Apple really can make
how powered chips, and 6 months later, comes out with the iPad class
clip to power new iPad and the norml MacBook and Imac.
Or it can do reverse, come out with the "normal" dericvative this fall,
and the "pro" model of the chip later.
In the end, it is all about chip FAB and what yields they get from the
design. A chip with no defects will be sold as a 3gbh chip with 4 cores.
A chip with a deffectoive code may be sold as a 3ghz chip with only 2
cores, and a chip with more defects will be sold as a 1,5ghz chip with
whatever cores.
> some had to deal with endian issues because they chose not to write
> endian-neutral code and it came back to bite them.
In many cases, you have no choice because of what your code interfaces
with. Not all devices talk "text" in XML. And many older databases
stored data in binary to space space. Many config files are in binary to
prevent users editing them. Anything that is binary and stored in file
becomes endian sensitive.
> apple licensed rosetta from a company called transitive, which was
> later bought by ibm, who had no interest in licensing it to apple
I was puzzled by Apple's use of the erm "Rosetta". So did a big of googling.
"Rosetta" was not Transitive's (so not IBM). Apple Licenced
QuickTransit from Transitive and created its own brand "Rosetta" for its
implemnentation.
But I suspect Rosetta2 is far more simpler as a file coverter as opposed
to converting machine code in-memory while it executes.
The file converter has the luxury of relinking the image and resolving
all exeternal references to point to the ARM versions of external
binaries. So when the translated app is launched, it truly launches as
a native app with all references to external subroutinesdynamic
libraries resolved to ARNM code right at launch time and no need to trap
any attempt to access untranslated code.
However, consider (whcih is now very rare and impossible on many
architvetures) a self modifying app that builds in memory some code to
which it then branches. Such an app would be translated and launch
normally, but when it writes to RAM code to which it intends to brand,
that code would still be x86 and it would then crash when it tries to
branch to it. (assuming it runs on a platform that allows one to branch
to data memory).
In am emulated environment, this would work because every instruction is
translated on the fly. However, the use of self modifying code is long
gone, except in virus attacks where buffer overloads attem,pt to insert
specific machine code that the attacker hopes the victim will branch to.
So by moving to Arm, it means those types of attacks will need to insert
ARM opcodes instead of 8086 ones.
#