r/AskComputerScience • u/[deleted] • Nov 07 '20
Why is ARM better than Intel? What does ARM actually do? Why doesn't/didn't Intel just do what ARM is doing?
Did a search here and there are quite a few interesting discussions, but can't quite find the answer to my questions.
I have a barrage of questions: curious what "Apple silicon" does better than Intel's chips? What part does ARM play in it when they call it "Apple silicon"? Will more PC makers do the same thing too? How has ARM gone from little phone processors to full on desktop processors like this? The announcement sounds like Apple pulling the rug from under Intel, seems like a fairly big client to lose, why doesn't Intel just do what ARM is doing?
As far as I'm aware there's pretty much an ARM chip in almost every piece of tech at this point, but I can't understand what they actually do when you start seeing "Apple silicon" and other brand names being mentioned but not ARM (Like Snapdragon - it's made by Qualcomm, but uses ARM?)
Thanks!
edit: can't respond to everyone but I've read every single comment, thanks a lot! Tons of great info here!
40
u/S-S-R Nov 07 '20
It's better in someways, and worse in others.
Absolutely better is rarely an actual thing in technology.
1
1
u/CrimsonBolt33 Nov 08 '20
Absolutely better is not rare it all...it just so happens to appear in product launches and marketing material for companies.
"1000x better than the competition in every way!*"
*In this one special test that is bias to us, but it's ok because we still do better in all the areas it tests.
Or things like "10x improvement!*"
*over our last product line...because we can't show how great we are against competition so we just have to tell you this product is better than last years product
24
u/Rapanuit Nov 07 '20
ARM is a type of architecture, mobile chips are all based on it, since they tend to be much more energy efficient and don’t require active cooling.
Apple has been designing their own silicon For iPhones and iPads for a while and they have got really good at it as shown by Apple chips outperforming many laptop and desktop computers on different benchmarks, so now they are planning to use them to improve macs.
This could have many benefits, among them, lighter, slimmer computers for consumers, maybe longer lasting battery life if they choose not to cut too much on battery capacities, costs and logistics savings for apple and the capability of running iOS apps on Mac OS creating cross compatibility
6
Nov 07 '20
[removed] — view removed comment
7
u/Rapanuit Nov 07 '20
In principle yes ! apple should adapt MacOs to allow for this and devs will probably need to create new layouts for desktop, but yes, apps coded for iOs could be run natively on macs
6
u/teraflop Nov 07 '20
Sort of. If two processors have the same architecture then they can run the same machine code. But real-world programs don't just do pure computation; they also interact with hardware and other programs through the operating system. Different operating systems generally have very different APIs and expectations about how user programs will do that.
For example, suppose you want to run a Windows program on a Linux system. You can't actually run both operating systems at the same time, because they don't know how to coordinate access to hardware devices. One solution would be to re-implement all of Windows' APIs on top of Linux, but that's a huge amount of work that's very tricky to get right. The WINE software package takes this approach, and actually works decently well, but it's taken almost 30 years of development to get to that point.
(In your specific example of a Macbook and an iPhone, both operating systems are variants of the same Mac OS X codebase. If Apple wanted to write a compatibility layer to allow programs designed for one to run on the other, they probably wouldn't have too much difficulty, since the two are so similar and they have access to all of the implementation details.)
For the general problem of running an arbitrary program designed for one OS on another one, the usual approach is virtualization. Basically, you run an entire copy of the "guest" OS as a program, and trick it into thinking it's talking directly to real hardware. But it's actually running as an ordinary process in the "host" OS, and whenever it thinks it's talking to a hardware device, the CPU interrupts it, and the virtualization software simulates the hardware's behavior. Effectively, the I/O is emulated, but other code runs directly on the CPU, which is much faster than emulating everything.
4
u/madmax_the_calm_road Nov 08 '20
Yes that is there plan already. All IOS apps will by default be available on day 1 to run on the new ARM macs. This is already demonstrated on the developer kit apple released earlier this summer.
1
u/emasculine Nov 10 '20
what apple did the last switch was to create binaries with both architectures code in them. so no need to emulate so long as you can get an update from whoever wrote it.
8
u/khedoros Nov 07 '20
How has ARM gone from little phone processors to full on desktop processors like this?
Full circle. It started in the desktop with the Acorn Archimedes, anyhow.
What part does ARM play in it when they call it "Apple silicon"?
ARM Ltd designs base CPUs and licenses them to others. Apple licensed some ARM technologies, and redesigned portions to better suit their needs. Later, they started designing their own ARM chips instead of licensing designs and modifying them.
6
u/Bonananana Nov 07 '20
I think you can shift the question to:
"Why would Apple trust Intel to make the heart of their hardware?"
Apple has spent many years improving low energy usage, high performance computing based on the ARM architecture. By shifting to ARM, Apple gets to reap rewards from that investment and can power a laptop with a chip that has equal or better capacity at a lower energy cost.
I think it also comes down to control. Apple can now have a level of control over their hardware that they can't get with Intel. That includes delivery pipelines and design priorities. Imagine there is a new form of encryption invented tomorrow, but that it's really compute intensive. Apple can now put engineers on adding fully integrated hardware support just how they want it. They can't have Intel start on it the same way and Intel's delivery pipelines have other concerns and priorities to balance.
Also, money. If Intel sells Apple a chip for $200, that likely only cost a fraction to develop and produce. There certainly is profit in there. If Apple can produce an equivalent chip for even a dollar less, then they're hanging onto more money. And I'll bet you that Apple can beat Intel on cost by a significant figure. I suspect the equivalence part has been the long road to the change.
In the end, the chip architecture doesn't matter. No one cares what chip architecture is in there as long as they can surf porn really fast and write snippy emails to their coworkers.
5
u/sumguysr Nov 07 '20
I suspect you're talking about ARM having better performance per watt in cloud computing applications. This can be explained due to a few factors 1. ARM is a RISC platform which makes it simpler to implement in silicon, faster to adapt to new fabrication technologies, and easier to specialize for a specific workload, and 2. ARM is a platform which can be licensed by any fabricator or designer, which means it can benefit from the technologies and patent portfolios exclusive to any of those fabricators or designers. ARM is also designed to support extensibility, so any designer or fabricator can create new functionalities implemented directly in efficient silicon, and make them accessible to programmers directly at the lowest level. As a result there are many standardized ARM extensions for certain types of computing at very high efficiency, and the ARM ecosystem can innovate them faster than Intel without the same top down control. Intel's CISC x64 platform is also burdened by the requirement of backwards compatibility with many generations of previous CISC feature sets, while a RISC platform always has a minimal feature set it might just be surprisingly optimised for.
2
2
u/og_m4 Nov 08 '20
I'm sorry but people are just dumping information here instead of answering the question. The difference is RISC vs CISC. Programs for Intel/AMD (i.e. x86 architecture that uses CISC) processors are short but require complex and expensive processors. Programs for Snapdragon or Apple Silicon chips (i.e. ARM architecture that uses RISC) are longer but require a simpler and cheaper processor. Given the same amount of money and electricity, RISC chips get better performance. But the PC world has been reluctant to move away from CISC because of Intel's monopoly due to which a lot of serious software has been written and optimized for the x86 architecture.
RISC = reduced instruction set computing
CISC = complex instruction set computing
3
u/combuchan Nov 07 '20
The word you're looking for is "licensing"--the ARM instruction set is licensed by ARM Holdings which doesn't actually own any CPU fabrication facilities (fabs). Intel is the opposite: it has a cross-licensing deal with AMD for x86_64 but does manufacture its own CPUs. Intel is big enough that it's one of the world leaders in fab design, but fab construction is often a sunk cost that doesn't help you in the future as chip designs age faster and faster.
Intel has been saddled with the legacy of hot, bloated, power-hungry processors for too long--this plus the above is why Intel can't just "do" what ARM is doing as they're more or less opposite kinds of companies. x86's power demands made it ill suited for mobile so it never got a foothold there, a foothold that is costing it because energy efficiency is now being seriously looked at from the datacenter, cloud or otherwise as well. The logical leap to ARM is a lot easier with the slow death of Wintel's ubiquity and the shift to web-based systems powered by CPU-agnostic languages and operating systems like Java/Python, etc on Linux.
I'm not convinced Apple silicon on its desktops is the best of ideas, however, I think that's more a long-term marketing/strategy shift to unifying iPad/iPhone/MacBooks--ARM is simply not powerful enough imho to do what a MacBook Pro or Mac Pro can do today and the overall lack of x86 compatibility will alienate MBP owners who dual boot into windows for games, etc.
1
May 14 '24
ARM is simply not powerful enough imho to do what a MacBook Pro or Mac Pro
You'd be surprised how the future looks
1
1
1
1
u/diogenes08 Nov 08 '20
Others have covered the details far better than I have, but the broad historical idea is this:
x86/x64 processors, ie Intel and AMD are quite powerful, but use a lot of energy and produce a lot of heat. Over the decades, it has been developed to be more efficient.
ARM, on the other hand, wasn't as powerful, but is very energy efficient and often doesn't need any active cooling. Over the decades, it has been developed to be more powerful.
Over the past decade or so, ARM has become capable of being usable in more and more situations, and it's widespread use in tablets, phones, mini PC's, etc has drawn in a lot of developers and created several massive ecosystems of applications.
It could well be argued at this point that ARM is, for at least the majority of users, plenty good enough to use, quieter without fans, better for battery life, cheaper, etc.
The Atom processors were Intel's attempts to compete with ARM early on, but being based on x86/x64, it simply wasn't able to match the perfomance to power/cost ratio that ARM had, and continued to improve upon.
1
Nov 08 '20 edited Nov 08 '20
Apple has been limited to what Intel can deliver, and its obvious that Intel has not put in their A effort to deliver their best (look at what AMD is doing right now).
Apple is now independent from Intel. Intel screwed up by being lazy, they essentially lost Apple, and AMD is just stomping over intel right now.
I know this is nothing related to your question but its a rant
edit: Arm is not "better", rather it gives Apple control of how their chips will be designed, whereas Intel designs the chips and then sells that to Apple.
9
u/[deleted] Nov 07 '20 edited Nov 07 '20
I doubt if anyone outside Intel knows exactly what has gone wrong for them. From the outside it seems that because Intel was on top of CPU market for large devices (computers, laptops, servers, supercomputers) for over a decade they just completely failed to set out plans for future improvements.
ARM doesn't make chips or transistors. ARM owns a particular family of architectures. Because ARM's architecture it used in smartphones ARM has had both a lot of money and a lot of pressure to improve. Their designs have gotten more powerful and more efficient. That meant more interest from other companies which meant developing chips for more things. Apple has definitely wanted ARM chips in its larger devices for a long time and has been setting things up for that for a long time.
Meanwhile at Intel it things started going seriously downhill in 2016 in a different way. TSMC (a chip maker who will make chips for anyone) beat Intel to market with a 10nm process node. At the time Intel (correctly) noted that node size is a vague and not immediately useful metric. Unfortunately Intel get stuck for three years, only putting out 10nm process last years. TSMC is now on a 7nm process and looking for another step forward.
So at the moment Intel's chips are a few years behind in technology and possibly even further behind in design as its main competitors (AMD and ARM) have made huge strides. The writing has been on the wall for quite a while. AMD's Ryzen 5000 series chips is looking like a pretty crushing blow to Intel right now and rumors that Apple's newest BIONIC chip (using ARM) will do the same.
But Apple was working with ARM even before this. That's mainly because they make a lot of mobile devices and because Apple wants as much control over their designs as possible. Rather than having to build around whatever is available on the market (whether from Intel, AMD, Qualcom, or whoever) Apple has the money to have something designed for them to do exactly what they want, nothing more or less.