The short answer
A general-purpose system is a computer designed to run many different kinds of programs, chosen and installed by its user, rather than being built for one fixed job. Laptops, desktop PCs, workstations and servers are the classic examples. The same machine can run a word processor, a web browser, a game, a database or a programming tool, simply by loading different software.
The term is most often used in contrast with embedded systems, which are dedicated computers built into products like microwaves, cars and thermostats to perform a specific function. If you’re comparing the two, our article on embedded systems vs general-purpose computers goes into detail.
What makes a system “general-purpose”
A few features together make a computer general-purpose:
- It’s programmable by the user. You can install, update and remove applications. Its function is defined by whatever software you run, not fixed at the factory.
- It runs a general-purpose operating system. Windows, macOS and Linux distributions manage the hardware and let many programs share it.
- It has broad, generous hardware resources. A powerful CPU, gigabytes of memory, large storage, and standard ports allow it to handle very different workloads.
- It has standard interfaces for people. Keyboard, mouse or touchscreen, and a display are typical, because a person is expected to use it directly.
- It’s expandable. You can usually add storage, peripherals, and sometimes more memory or expansion cards.
At a deeper level, general-purpose computers are built on the stored-program idea: instructions are held in memory just like data, so the same hardware can do completely different things depending on which program is loaded. Embedded systems use that idea too. The difference is that an embedded device’s program is chosen once, by the manufacturer, for one job.
How a general-purpose system is structured
A general-purpose computer system is often described in four layers:
- Hardware: the CPU, memory, storage and input/output devices that provide raw computing resources.
- Operating system: software that manages the hardware, shares CPU time and memory among programs, handles files and devices, and provides a user interface.
- Application programs: the software people actually use, such as browsers, office suites, compilers, media players and games.
- Users: the people (or other computers) that use those applications to get work done.
The operating system is what makes this flexibility practical. It lets programs written by many different developers run on the same machine without each one needing to know the details of the hardware.
Examples of general-purpose systems
- Desktop PCs running Windows, macOS or Linux
- Laptops and notebooks
- Workstations for engineering, 3D design and video production
- Servers that host websites, databases and cloud services
- Mainframes used by banks, airlines and governments for large-scale transaction processing
- Supercomputers used for scientific simulations, which run many different research programs
- Tablets, which let users install a wide range of apps
General-purpose vs embedded and special-purpose systems
| General-purpose system | Embedded system | |
|---|---|---|
| Job | Whatever software the user runs | One dedicated function inside a product |
| Software | User-installed applications on a general-purpose OS | Fixed firmware written for the device |
| Hardware | Powerful CPU, large RAM and storage, expandable | Usually a microcontroller with limited memory |
| Operating system | Windows, macOS, Linux | None (bare metal), a real-time OS, or embedded Linux |
| Timing | Optimized for average performance | Often must meet guaranteed deadlines |
| Interface | Keyboard, mouse, touchscreen, display | Often minimal or none |
| Examples | Laptop, desktop, server | Microwave, ABS module, thermostat, fitness tracker |
You’ll also see the term special-purpose system, meaning any computer designed for a specific task. Embedded systems are the most common kind. Others include dedicated hardware such as some scientific instruments, cryptocurrency mining machines built around custom chips, and older single-function machines like dedicated word processors.
Related terms
General-purpose computer
This is usually what people mean by “general-purpose system”: a computer that can be programmed to perform a wide range of tasks.
General-purpose operating system
A general-purpose operating system (GPOS) is designed to run many types of applications for many users, sharing resources fairly and keeping the system responsive on average. Windows, macOS and desktop Linux are examples. It differs from a real-time operating system (RTOS), which prioritizes predictable timing over average throughput and is common in embedded systems.
General-purpose processor
A general-purpose processor is a CPU designed to execute any kind of program reasonably well, as opposed to specialized processors such as digital signal processors (DSPs), graphics processors (GPUs) or custom chips (ASICs) that are optimized for particular workloads. Microcontrollers contain general-purpose processor cores too. What makes them “embedded” is how they’re used, not the core itself.
“General-purpose” in electronics
If you work with microcontrollers, you’ll see “general-purpose” in other places that have nothing to do with general-purpose systems:
- GPIO (general-purpose input/output) pins are pins that firmware can configure as inputs or outputs for any use, such as reading a button or lighting an LED.
- General-purpose registers are the small storage locations inside a CPU that hold values the processor is working on.
- General-purpose timers are timer peripherals that can be used for many tasks, such as measuring intervals or generating PWM signals.
In these cases, “general-purpose” just means “not dedicated to one function.”
Where the line blurs
The distinction is about how a computer is used as much as what it is:
- A smartphone is general-purpose from the user’s point of view, but it’s full of embedded subsystems such as the modem and camera processor.
- An industrial PC is general-purpose hardware, but when it’s installed in a machine to run one control program for years, it’s effectively acting as an embedded system.
- A Raspberry Pi is a general-purpose single-board computer that’s commonly used as the heart of embedded projects. See is a Raspberry Pi an embedded system? for that debate.
Even a general-purpose laptop contains embedded systems: the keyboard controller, the battery management chip, and the SSD controller each run their own firmware.
Frequently asked questions
Is a smartphone a general-purpose system?
Usually yes. You can install a wide range of apps, it runs a full operating system, and its function changes depending on what you run. It does contain many embedded systems inside it, and some people call phones “mobile embedded systems,” but in everyday terms a smartphone is a general-purpose computer.
Is a general-purpose system the same as a personal computer?
A personal computer is one type of general-purpose system. Servers, workstations, mainframes and supercomputers are also general-purpose, even though they aren’t “personal.”
Why don’t all devices just use general-purpose computers?
Because for a dedicated job, a general-purpose computer is usually too big, too expensive, too power-hungry and not predictable enough. A microwave doesn’t need gigabytes of memory, and a car’s brakes can’t wait while an operating system installs updates. Embedded systems do one job with far less hardware. Our guide to what an embedded system is explains why they’re built that way.