Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I read that a computer is made up of the CPU and the memory. I also read that the CPU itself contains a cache which is memory. So if the CPU itself contains the memory, isn't the CPU a computer?

Please clarify, thanks.

EDIT: I read here: http://www.dwightsilverman.com/future.htm it says:

A processor is, itself, a computer, and they now are small enough that they are embedded in everything from car engines to toasters. Although these processors are relatively dumb, designed to do just one thing, smarter processors that are more versatile also are finding their way into tiny places.

share|improve this question
7  
depends on how you would define what a computer actually is –  ratchet freak Jun 18 '13 at 12:28
1  
A computer is a general purpose device that can be programmed to carry out a finite set of arithmetic or logical operations. –  Moses Garza Jun 18 '13 at 12:33

1 Answer 1

up vote 5 down vote accepted

This really all depends on how you are defining a CPU. If you are talking about the embedded CPUs found in many of the devices you use, then yes, they often contain both the RAM and the processing units that would make up a common computer. If you are talking about a CPU that you would find in a consumer desktop/laptop you would see that the cache you are referring to is usually very small and only used to buffer instructions to the core, thereby reducing downtime, as calls to the main memory (RAM) are very expensive. They would be very very limited in what you could do if you ONLY had the cache on those cpus, but they could technically still be called whole computers.

This all comes from the fact that in the days of old, the mathematical units were separate from the memory manager, which was separate from the memory, which was separate from the logic units. each of these units by itself was incapable of doing the whole job itself, and thus was not a 'computer.' as we think of it today. Without memory, your logic and mathematical units wouldn't have anyone to get instructions from. Today's computers are very far removed from being a collection of separate entities on a chip, as the more integrated you make them, the more performance you can achieve.

share|improve this answer
    
Thanks that explains everything. –  Moses Garza Jun 18 '13 at 12:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.