OCR H446, section 1.2.2 (c)
Software is written as source code, which people can read. What happens to that source code divides software into two kinds.
Open source software
With open source software, the source code is made freely available. Anyone can read it, change it, copy it and share it, under the terms of a licence.
- Examples: the Linux operating system, the Firefox browser, LibreOffice, the Python language, and the Android core.
- Common licences include the GNU General Public License (GPL), which requires changed versions to be shared under the same terms, and more permissive ones such as the MIT licence.
- Open source doesn't necessarily mean free of charge (although most is). It means the code is open. Companies may sell support and services.
Closed source (proprietary) software
With closed source software, the source code is kept secret by its owner. Users receive only the compiled program (machine code), under a licence that limits what they can do.
- Examples: Microsoft Windows and Office, Adobe Photoshop, and most commercial games.
- Users can't see how it works or change it, and can't legally copy or share it freely.
- They usually pay for a licence (although some is free to use, which is called freeware).
Open source: advantages
- Free or low cost to obtain.
- Many people can inspect the code and spot bugs and security faults, which are then fixed quickly by the community ("many eyes").
- Customisable: you can change it to suit your needs, or add features.
- No dependence on one company: if the original developers stop, others can carry on.
- No licence restrictions on copying, so it's easy to install on many computers.
- Transparency: you can check what the software really does, for example that it isn't collecting data.
Open source: disadvantages
- Support may be limited, depending on community help or paid services.
- It can be less polished or user-friendly, and documentation may be patchy.
- Quality varies, and some projects are abandoned.
- Because the code is public, attackers can look for weaknesses too.
- You need technical skill to change or maintain it.
- There may be compatibility problems with commercial software and file formats.
Closed source: advantages
- Usually comes with professional support, training and documentation.
- Developed by a company with a responsibility for quality, and often polished and user-friendly.
- The company's revenue pays for further development.
- Compatibility with other commercial products and widely used formats.
- The code is hidden, so it is harder for attackers to examine, and the owner's intellectual property is protected.
Closed source: disadvantages
- Costs money, with ongoing licence or subscription fees.
- Can't be changed, so you rely on the company for fixes and features.
- You can't check what the software does, so you must trust the vendor.
- Bugs and security faults may be found and fixed more slowly.
- If the company stops supporting the product or goes out of business, users can be left stranded (vendor lock-in).
- Licence limits the number of computers it can be installed on.
Comparison
| Open source | Closed source | |
|---|---|---|
| Source code | Available to everyone | Secret |
| Cost | Usually free | Usually paid |
| Can you modify it? | Yes | No |
| Support | Community or paid services | Company support |
| Fixing bugs | Anyone can contribute | Only the owner |
| Security | Open to inspection | Hidden (but not necessarily safer) |
| Examples | Linux, Firefox, LibreOffice | Windows, Microsoft Office, Photoshop |
Worked example
Task: a small school wants a word processor and an operating system for 100 old computers on a tight budget. Compare using open source and closed source software.
- Open source (such as Linux and LibreOffice): no licence fees for 100 machines, and a light operating system that runs well on old hardware. The school can customise it, and fix problems with the help of the community. The disadvantage is that staff and students may need training, and there may be compatibility issues with files from other organisations.
- Closed source (such as Windows and Microsoft Office): familiar to most users and fully supported, with excellent compatibility, but licences for 100 computers are costly, and the old machines may not be able to run the latest version.
For a tight budget and older hardware, open source is likely to suit well, provided that the school has someone who can support it.
Exam tip: the defining difference is whether the source code is available to users. Give advantages and disadvantages for each, and link the choice to the scenario (cost, support, security, the need to customise). Don't say open source is "free" without care: the point is the code is open.
Check yourself
What is the difference between open source and closed source software?
With open source software the source code is made available so that anyone can read, change and share it. With closed source software the source code is kept secret and only the compiled program is supplied.
Give two advantages of open source software
Any two of: it is usually free; many people can inspect the code and find bugs; it can be customised; it doesn't depend on one company.
Give two advantages of closed source software
Any two of: professional support and training; usually polished and well documented; compatibility with other commercial products; the owner's intellectual property is protected.
Does open source always mean free of charge?
No. It means that the source code is available. Most open source software is free, but companies can still charge for support and services.