Edexcel International Advanced Level Computer Science, point 6.3.3
Definition
Open-source software is software whose source code is made publicly available, so that anyone can view it, use it, change it and share it, under a licence that allows this. Examples: Linux, Python, Firefox, LibreOffice, Android (core), Git, VLC.
Proprietary (closed-source) software keeps its source code secret, and users get only the compiled program under a licence that restricts copying, changing and sharing. Examples: Windows, Microsoft Office, Adobe Photoshop.
Function
Open source lets individuals and organisations share and build on each other's work, instead of every project starting from scratch. Much of the Internet and modern software is built on open-source components.
Characteristics
- Source code is available, and can be inspected and modified.
- Free to use in most cases ("free as in freedom": the freedom to study and change it, not only no cost). Some companies sell support or services.
- Developed by communities of volunteers and companies, often in public using version control (6.3.2).
- Governed by licences, which set the rules for use and sharing:
| Licence type | What it requires | Example |
|---|---|---|
| Permissive | You can reuse the code freely, even in closed software, as long as you keep the copyright notice | MIT, Apache, BSD |
| Copyleft | If you distribute a modified version, you must share it under the same open licence | GNU GPL |
- Open source doesn't mean public domain: the licence still applies.
Benefits
For users and organisations
- Low cost or free, with no licence fees per user.
- Flexibility: you can adapt the software to your needs.
- No vendor lock-in: you're not tied to one company and can switch or keep it going yourself.
- Transparency and trust: the code can be checked for hidden or malicious behaviour.
- Many people reviewing the code means bugs and security flaws can be found and fixed quickly ("many eyes").
- Long life: the software can continue even if the original developers stop.
- Community support, forums and documentation.
For developers
- Reuse well-tested libraries and frameworks, which saves time.
- Learn from real code, and build a reputation by contributing.
- Collaborate across the world.
Drawbacks
- Support may be limited or informal (a community instead of a helpdesk), though paid support is often available.
- Quality varies: some projects are poorly maintained, documented, or abandoned.
- Security isn't automatic: public code can be studied by attackers too, and vulnerabilities in widely used packages can affect many systems. Users must keep it updated.
- Usability may be less polished, with fewer features than a commercial product.
- Compatibility with proprietary file formats and hardware drivers can be a problem.
- Licence obligations: copyleft may force you to publish your own code, and misuse can lead to legal problems.
- Dependency risk: relying on a package that is changed or removed can break your software.
Open source and proprietary compared
| Open source | Proprietary | |
|---|---|---|
| Source code | Available | Secret |
| Cost | Usually free | Usually paid (licence) |
| Modify and share? | Yes, within the licence | No |
| Support | Community (paid options) | Company, often with guarantees |
| Updates | Community-driven | Controlled by the company |
| Security | Open to review, but needs active upkeep | Hidden code, relies on the vendor |
| Examples | Linux, Python, Firefox | Windows, Photoshop |
Worked example
Task: a small school wants an operating system and office software for 100 computers on a tight budget. Discuss using open-source software.
- For: no per-computer licence fees (a big saving over 100 machines), can be customised for the school, no lock-in, and students can see and learn from the code. Linux and LibreOffice would run on older hardware.
- Against: staff and students may need training (the interface is different from what they know), support relies on the community or a paid provider, some specialist software may be proprietary-only, and file compatibility with Microsoft documents may not be perfect.
- Conclusion: open source is a good fit for the cost saving and flexibility, provided the school plans training and support, and checks that needed software and file formats work.
Exam tip: define open source as source code available to view, modify and share under a licence, and contrast it with proprietary. Give benefits and drawbacks for a particular user, and avoid "it's free so it's better". Mention that open doesn't automatically mean secure.
Check yourself
What is open-source software?
Software whose source code is publicly available for anyone to view, use, modify and share under a licence.
What is vendor lock-in, and how does open-source software avoid it?
Being tied to one company's product, so it is hard or costly to switch. With open source the code is available, so you can move to another supplier or keep the software going yourself.
Give two drawbacks of open-source software
Any two of: limited or informal support; variable quality; security vulnerabilities still exist; less polished; licence obligations; dependency risks.
What is the difference between permissive and copyleft licences?
A permissive licence allows reuse, even in closed software. A copyleft licence requires modified versions to be shared under the same open licence.
Why does open source not automatically mean secure?
Attackers can also study the public code, and vulnerabilities in widely used packages affect many systems, so it still needs active maintenance and updates.