r/AskComputerScience • • Jun 22 '20

How will ARM based MacBooks change developer preferences when it comes to CS related work?

Will they become bad for everyone but iOS and Mac devs? I wasn't initially too concerned, but today a report came out that the first ARM Macs might be MacBook Pros, and that the Intel ones will be discontinued after the ARM ones are introduced. Obviously, a rumor, but I wanted to know what people think about this development.

31 Upvotes

50 comments sorted by

View all comments

32

u/jeffbell Jun 22 '20

It means that we have to publish two different Mac executables for the next five years at least.

17

u/Syde80 Jun 22 '20

Unlikely. When Apple transitioned from PowerPC they had a "Universal Binary" format aka fat binary that contained everything needed to execute natively on PPC, x86, and x86-64 in a single file.

4

u/scriptmonkey420 Jun 22 '20

Thats just ugly.

1

u/Syde80 Jun 22 '20

I don't disagree. It did kind of fit with Apple's mantra of making thing easy for the average end user though.

The same technique might not work as well today surprisingly as its not uncommon for people to have 128GB SSDs these days because people are currently valuing fast storage over vast storage. You can get by with 128GB no problem right now, but as soon as all those binaries need to be multi-arch... yeah maybe 128GB is not going to cut it now.

3

u/[deleted] Jun 22 '20

The actual element that needs to be multi-arch is relatively small, at least.

I'm dating myself here but back in the day Apple did fat binaries of Motorola 68000 series and PowerPC. Your logic had to run on both but your assets were all reused. The ratio of logic to assets in programs since then has only gone down

1

u/Syde80 Jun 22 '20

Totally get it. I actually mentioned universal binaries / fat binaries in another comment in reference to PPC -> x86 migration

1

u/[deleted] Jun 22 '20

Yeah, I saw that. It's Apple's playbook -- they did it for 68k to PPC, they did it for PPC to x86 and x64. It's very reasonable to think that they'll do it for x86 to ARM.

I think the storage might not be so bad, though, thinking of the era where multi-arch packages on Mac OS didn't completely fill our 500MB hard drives either because both binaries pointed at the same assets.