Revision as of 09:02, 5 July 2024 view sourceVideoffan (talk | contribs)94 editsm visual editsTag: Visual edit← Previous edit | Latest revision as of 00:21, 24 November 2024 view source GoingBatty (talk | contribs)Autopatrolled, Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers640,464 edits bad link repair, replaced: Supreme Court → Supreme CourtTag: AWB | ||
(23 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{Short description| |
{{Short description|Instructions a computer can execute}} | ||
{{Other uses}} | {{Other uses}} | ||
{{pp|small=yes}} | {{pp|small=yes}} | ||
{{Use dmy dates|date=May 2017}} | |||
] language]] | |||
]s are one of many everyday technologies that are dependent on software.{{sfn|Kitchin |Dodge|2011|p=5}}]] | |||
<!-- ]]] --> | |||
'''Software''' consists of ]s that instruct the ] of a ].<ref name="pis-p16">{{cite book | '''Software''' consists of ]s that instruct the ] of a ].<ref name="pis-p16">{{cite book | ||
| last = Stair | | last = Stair | ||
Line 15: | Line 13: | ||
| isbn = 0-619-06489-7 | | isbn = 0-619-06489-7 | ||
| quote = Software consists of computer programs that govern the operation of the computer. | | quote = Software consists of computer programs that govern the operation of the computer. | ||
}}</ref> Software also includes design documents and specifications. | |||
}}</ref> | |||
The history of software is closely tied to the development of digital computers in the mid-20th century. Early programs were written in the ] specific to the hardware. The introduction of ]s in 1958 allowed for more human-readable instructions, making ] easier and more portable across different ]s. Software in a programming language is run through a ] or ] to ] on the architecture's hardware. Over time, software has become complex, owing to developments in ], ], and ]. | |||
Building on previous innovations in ] and technology, software was created for the programmable ] that emerged in the late 1940s and was necessary to realize their usefulness. The first software was tied closely to the underlying ], but over time, the lower ] of the system have become more standardized, and software has become increasingly ] between different systems and abstracted from the underlying ]. ] manage the hardware resources and mediate between different ] that accomplish tasks for the user. Programming languages are the format in which software is written, and must be both human-readable and capable of being translated into unambiguous instructions for computer hardware. ]s or ]s are needed to link a program with other code that it relies on and convert the software into ] that can be ] on the hardware. Programs are combined with each other and with external input to be capable of accomplishing a complex task. | |||
Software can generally be categorized into two main types: | |||
]'s central task is ] and ] a project's ], but the term also covers conceiving the project, evaluating its feasibility, analyzing the business requirements, ], and ]. ], including ] and ], is an essential part of the process, as delivering quality code lowers the cost of ] failures, ]s enabled by ], and ]. Maintenance typically consumes 75 percent or more of the software's lifetime engineering budget. Source code ] by ], which vests the owner with the exclusive right to copy the code. Software has become ubiquitous in ] in ]. In many cases, software augments the functionality of pre-existing technologies, but it has also enabled the creation of entirely new technologies such as ], ], ], ], and ]. | |||
# ]s, which manage hardware resources and provide services for applications | |||
# ], which performs specific tasks for users | |||
The rise of ] has introduced the new software delivery model ] (SaaS). In SaaS, applications are hosted by a ] and ] over the ]. | |||
==Definition== | |||
The process of developing software involves several stages. The stages include ], ], ], ], and ]. ] and ] are critical aspects of software development, as ] and ] can lead to system failures and security breaches. Additionally, legal issues such as software licenses and intellectual property rights play a significant role in the distribution of software products. | |||
Software can be defined more narrowly as the instructions executed by the ], or more broadly including other concepts, tools, and methods needed to make an ] system on ], such as design documents, specifications, and testing suites.{{sfn|Osterweil|2013|p=61}}{{sfn|Tracy|2021|p=2}} An individual ] or ] file consists of unambiguous instructions and ]s. Programs are combined with each other and with external input to be capable of accomplishing a complex task.{{sfn|Kitchin |Dodge|2011|pp=3, 24}}{{sfn|Tracy|2021|p=2}} Tools such as ]s, ]s, ]s, design tools, simulators, and ]s—some of which are also software—are essential to the design and execution of most computing systems.{{sfn|Tracy|2021|p=2}} Although software is ],{{sfn|Tracy|2021|p=3}}{{sfn|Kitchin |Dodge|2011|p=24}} software makes instructions for ] to produce visible and tangible effects.{{sfn|Kitchin |Dodge|2011|pp=3-4}} | |||
==History== | ==History== | ||
{{Main|History of software}} | {{Main|History of software}} | ||
], an ] |
] is an essential invention to produce modern software systems.{{sfn|Jones|2014|pp=19, 22}}]] | ||
The first use of the word ''software'' is credited to mathematician ] in 1958.{{sfn|Tracy|2021|p=2}} | |||
<!-- ] ]—the first hardware to support ]—in 1957. ] was designed for this machine.{{sfn|Sebesta|2012|pp=42–44}}{{sfn|Gabbrielli|Martini|2023|p=524}}]] --> | |||
⚫ | The first programmable computers, which appeared at the end of the 1940s,{{sfn|Gabbrielli|Martini|2023|p=519}} were programmed in ]. Machine language is difficult to debug and not ] across different computers.{{sfn|Gabbrielli|Martini|2023|pp=520–521}} Initially, hardware resources were more expensive than ].{{sfn|Gabbrielli|Martini|2023|p=522}} As programs became complex, ] became the bottleneck. The introduction of ]s in 1958 ] the details of the hardware and expressed the underlying ]s into the code .{{sfn|Gabbrielli|Martini|2023|p=521}}{{sfn|Tracy|2021|p=1}} Early languages include ], ], and ].{{sfn|Tracy|2021|p=1}} | ||
A host of earlier inventions were necessary for the creation of software, including ]—especially ] and ] number systems, and ]—]s, ], ]s,{{sfn|Jones|2014|pp=9, 21}} ], ]s, ]s, and ].{{sfn|Jones|2014|p=19}} Software could not exist without ], as it was created specifically for these devices and was necessary to realize their usefulness.{{sfn|Jones|2014|p=22}} | |||
⚫ | The first programmable computers, which appeared at the end of the 1940s,{{sfn|Gabbrielli|Martini|2023|p=519}} were programmed in ] |
||
The first software was tied closely to the underlying hardware and, consequently, was not ] to other systems. As it has evolved, newer software can be built and run on a wide variety of platforms. Much of the increase in portability can be attributed to the standardization of lower-level aspects of the system, such as ], ]s, and ]s. Because there are only a relatively few operating systems, ] and ] are used for virtually all networking, and ] is used for many database queries, ] can run more easily over a wide variety of hardware.{{sfn|Tracy|2021|p=249}} Increasing the number of layers of ] in the system is a related development: both in programming languages where it enables better structure and increased ], as well as enabling ] of system resources. As a result of the increase in stability and abstraction, software has become increasingly complex and can solve more problems.{{sfn|Tracy|2021|p=250}} Both industry and ] have had a strong influence on the development of different aspects of software.{{sfn|Tracy|2021|pp=250-251}} | |||
==Types== | ==Types== | ||
{{See also|Software categories}} | {{See also|Software categories}} | ||
Line 41: | Line 39: | ||
**Allocating resources between different applications, deciding when they will receive ] (CPU) time or space in ].{{sfn|Anderson|Dahlin|2014|p=7}} | **Allocating resources between different applications, deciding when they will receive ] (CPU) time or space in ].{{sfn|Anderson|Dahlin|2014|p=7}} | ||
**Providing an interface that abstracts the details of accessing ] details (like physical memory) to make things easier for programmers.{{sfn|Anderson|Dahlin|2014|p=7}}{{sfn|Tanenbaum|Bos|2023|p=5}} | **Providing an interface that abstracts the details of accessing ] details (like physical memory) to make things easier for programmers.{{sfn|Anderson|Dahlin|2014|p=7}}{{sfn|Tanenbaum|Bos|2023|p=5}} | ||
**Offering common services, such as an interface for accessing network and disk devices. This enables an application to be run on different hardware without needing to be rewritten.{{sfn|Anderson|Dahlin|2014|pp=7, 9, 13}} |
**Offering common services, such as an interface for accessing network and disk devices. This enables an application to be run on different hardware without needing to be rewritten.{{sfn|Anderson|Dahlin|2014|pp=7, 9, 13}} | ||
* ] runs on top of the operating system and uses the computer's resources to perform a task.{{sfn|Anderson|Dahlin|2014|pp=6-7}} There are many different types of application software because the range of tasks that can be performed with modern computers is so large.{{sfn|Jones|2014|p=121}} Applications account for most software{{sfn|Tracy|2021|p=66}} and require the ] provided by an operating system, and often other applications, in order to function.{{sfn|Tracy|2021|p=72}} |
* ] runs on top of the operating system and uses the computer's resources to perform a task.{{sfn|Anderson|Dahlin|2014|pp=6-7}} There are many different types of application software because the range of tasks that can be performed with modern computers is so large.{{sfn|Jones|2014|p=121}} Applications account for most software{{sfn|Tracy|2021|p=66}} and require the ] provided by an operating system, and often other applications, in order to function.{{sfn|Tracy|2021|p=72}} | ||
] (IaaS), ] (PaaS), and ] (SaaS)|upright=2.4|center]] | ] (IaaS), ] (PaaS), and ] (SaaS)|upright=2.4|center]] | ||
Line 55: | Line 53: | ||
Completing a software project involves various forms of expertise, not just in ]s but also testing, documentation writing, ], ], ], user support, ], and fundraising.{{sfn|Tucker |Morelli |de Silva |2011|p=7}}{{sfn|Stull|2018|pp=24-25}}{{sfn|Dooley|2017|p=1}} | Completing a software project involves various forms of expertise, not just in ]s but also testing, documentation writing, ], ], ], user support, ], and fundraising.{{sfn|Tucker |Morelli |de Silva |2011|p=7}}{{sfn|Stull|2018|pp=24-25}}{{sfn|Dooley|2017|p=1}} | ||
==Quality and security== | ==Quality and security== | ||
{{main article|Software quality|Computer security}} | {{main article|Software quality|Computer security}} | ||
] is defined as meeting the stated requirements as well as customer expectations.{{sfn|Galin|2018|p=3}} Quality is an overarching term that can refer to a code's correct and efficient behavior, its reusability and ], or the ease of modification.{{sfn|Galin|2018|p=26}} It is usually more cost-effective to build quality into the product from the beginning rather than try to add it later in the development process.{{sfn|O'Regan|2022|pp=68, 117}} Higher quality code will reduce lifetime cost to both suppliers and customers as it is more reliable and ].{{sfn|O'Regan|2022|pp=3, 268}}{{sfn|Varga|2018|p=12}} Software failures in ]s can be very serious including death.{{sfn|O'Regan|2022|pp=3, 268}} By some estimates, the cost of poor quality software can be as high as 20 to 40 percent of sales.{{sfn|O'Regan|2022|p=119}} Despite developers' goal of delivering a product that works entirely as intended, virtually all software contains bugs.{{sfn|Ablon|Bogart|2017|p=1}} |
] is defined as meeting the stated requirements as well as customer expectations.{{sfn|Galin|2018|p=3}} Quality is an overarching term that can refer to a code's correct and efficient behavior, its reusability and ], or the ease of modification.{{sfn|Galin|2018|p=26}} It is usually more cost-effective to build quality into the product from the beginning rather than try to add it later in the development process.{{sfn|O'Regan|2022|pp=68, 117}} Higher quality code will reduce lifetime cost to both suppliers and customers as it is more reliable and ].{{sfn|O'Regan|2022|pp=3, 268}}{{sfn|Varga|2018|p=12}} Software failures in ]s can be very serious including death.{{sfn|O'Regan|2022|pp=3, 268}} By some estimates, the cost of poor quality software can be as high as 20 to 40 percent of sales.{{sfn|O'Regan|2022|p=119}} Despite developers' goal of delivering a product that works entirely as intended, virtually all software contains bugs.{{sfn|Ablon|Bogart|2017|p=1}} | ||
⚫ | The rise of the Internet also greatly increased the need for ] as it enabled malicious actors to conduct ]s remotely.{{sfn|Campbell-Kelly|Garcia-Swartz|2015|p=164}}{{sfn|O'Regan|2022|p=266}} If a bug creates a security risk, it is called a ].{{sfn|Ablon|Bogart|2017|p=2}}{{sfn|Daswani |Elbayadi|2021|p=25}} ]es are often released to fix identified vulnerabilities, but those that remain unknown (]s) as well as those that have not been patched are still liable for exploitation.{{sfn|Daswani |Elbayadi|2021|pp=26-27}} Vulnerabilities vary in their ability to be ]ed by malicious actors,{{sfn|Ablon|Bogart|2017|p=2}} and the actual risk is dependent on the nature of the vulnerability as well as the value of the surrounding system.{{sfn|Haber |Hibbert|2018|pp=5-6}} Although some vulnerabilities can only be used for ] attacks that compromise a system's availability, others allow the attacker to ] and run their own code (called ]), without the user being aware of it.{{sfn|Ablon|Bogart|2017|p=2}} To thwart cyberattacks, all software in the system must be designed to withstand and recover from external attack.{{sfn|O'Regan|2022|p=266}} Despite efforts to ensure security, a significant fraction of computers are infected with malware.{{sfn|Kitchin |Dodge|2011|p=37}} | ||
⚫ | The rise of the Internet also greatly increased the need for ] as it enabled malicious actors to conduct ]s remotely.{{sfn|Campbell-Kelly|Garcia-Swartz|2015|p=164}}{{sfn|O'Regan|2022|p=266}} If a bug creates a security risk, it is called a ].{{sfn|Ablon|Bogart|2017|p=2}}{{sfn|Daswani |Elbayadi|2021|p=25}} ]es are often released to fix identified vulnerabilities, but those that remain unknown (]s) as well as those that have not been patched are still liable for exploitation.{{sfn|Daswani |Elbayadi|2021|pp=26-27}} Vulnerabilities vary in their ability to be ]ed by malicious actors,{{sfn|Ablon|Bogart|2017|p=2}} and the actual risk is dependent on the nature of the vulnerability as well as the value of the surrounding system.{{sfn|Haber |Hibbert|2018|pp=5-6}} Although some vulnerabilities can only be used for ] attacks that compromise a system's availability, others allow the attacker to ] and run their own code (called ]), without the user being aware of it.{{sfn|Ablon|Bogart|2017|p=2}} To thwart cyberattacks, all software in the system must be designed to withstand and recover from external attack.{{sfn|O'Regan|2022|p=266}} Despite efforts to ensure security, a significant fraction of computers are infected with malware.{{sfn|Kitchin |Dodge|2011|p=37}} |
||
==Encoding and execution== | ==Encoding and execution== | ||
Line 65: | Line 65: | ||
{{main|Programming language}} | {{main|Programming language}} | ||
] for a computer program in ]. The gray lines are ] that explain the program to humans. When ] and ], it will give the output "]".]] | ] for a computer program in ]. The gray lines are ] that explain the program to humans. When ] and ], it will give the output "]".]] | ||
Programming languages are the format in which software is written. Since the 1950s, thousands of different programming languages have been invented; some have been in use for decades, while others have fallen into disuse.{{sfn|Tracy|2021|p=117}} Some definitions classify ]—the exact instructions directly implemented by the hardware—and ]—a more human-readable alternative to machine code whose statements can be translated one-to-one into machine code—as programming languages.{{sfn|Tracy|2021|pp=118–120}} Programs written in the ] used to create software share a few main characteristics: knowledge of machine code is not necessary to write them, they can be ] to other computer systems, and they are more concise and human-readable than machine code.{{sfn|Tracy|2021|pp=118–119}} They must be both human-readable and capable of being translated into unambiguous instructions for computer hardware.{{sfn|Kitchin |Dodge|2011|p=26}} |
Programming languages are the format in which software is written. Since the 1950s, thousands of different programming languages have been invented; some have been in use for decades, while others have fallen into disuse.{{sfn|Tracy|2021|p=117}} Some definitions classify ]—the exact instructions directly implemented by the hardware—and ]—a more human-readable alternative to machine code whose statements can be translated one-to-one into machine code—as programming languages.{{sfn|Tracy|2021|pp=118–120}} Programs written in the ] used to create software share a few main characteristics: knowledge of machine code is not necessary to write them, they can be ] to other computer systems, and they are more concise and human-readable than machine code.{{sfn|Tracy|2021|pp=118–119}} They must be both human-readable and capable of being translated into unambiguous instructions for computer hardware.{{sfn|Kitchin |Dodge|2011|p=26}} | ||
===Compilation, interpretation, and execution=== | ===Compilation, interpretation, and execution=== | ||
Line 75: | Line 75: | ||
{{main article|Software product liability}} | {{main article|Software product liability}} | ||
Software is often released with the knowledge that it is incomplete or contains bugs. Purchasers knowingly buy it in this state, which has led to a legal regime where ] for software products is significantly curtailed compared to other products.{{sfn|Kitchin |Dodge|2011|pp=36-37}} | Software is often released with the knowledge that it is incomplete or contains bugs. Purchasers knowingly buy it in this state, which has led to a legal regime where ] for software products is significantly curtailed compared to other products.{{sfn|Kitchin |Dodge|2011|pp=36-37}} | ||
===Licenses=== | ===Licenses=== | ||
{{Main|Software license|Software copyright}} | {{Main|Software license|Software copyright}} | ||
Line 82: | Line 83: | ||
===Patents=== | ===Patents=== | ||
{{Main|Software patent|Software patent debate}} | {{Main|Software patent|Software patent debate}} | ||
]s give an inventor an exclusive, time-limited license for a novel product or process.{{sfn|O'Regan|2022|p=395}} Ideas about what software could accomplish are not protected by law and concrete implementations are instead covered by ]. In some countries, a requirement for the claimed invention to have an effect on the physical world may also be part of the requirements for a software patent to be held valid.<ref>Gerardo Con Díaz, "The Text in the Machine: American Copyright Law and the Many Natures of Software, 1974–1978", ''Technology and Culture'' 57 (October 2016), 753–79.</ref> ]s have been ]. Before the 1998 case '']'', software patents were generally not recognized in the United States. In that case, the ] decided that business processes could be patented.{{sfn|Jones|2014|p=19}} Patent applications are complex and costly, and lawsuits involving patents can drive up the cost of products.{{sfn|O'Regan|2022|p=398}} Unlike copyrights, patents generally only apply in the jurisdiction where they were issued.{{sfn|O'Regan|2022|p=399}} | ]s give an inventor an exclusive, time-limited license for a novel product or process.{{sfn|O'Regan|2022|p=395}} Ideas about what software could accomplish are not protected by law and concrete implementations are instead covered by ]. In some countries, a requirement for the claimed invention to have an effect on the physical world may also be part of the requirements for a software patent to be held valid.<ref>Gerardo Con Díaz, "The Text in the Machine: American Copyright Law and the Many Natures of Software, 1974–1978", ''Technology and Culture'' 57 (October 2016), 753–79.</ref> ]s have been ]. Before the 1998 case '']'', software patents were generally not recognized in the United States. In that case, the ] decided that business processes could be patented.{{sfn|Jones|2014|p=19}} Patent applications are complex and costly, and lawsuits involving patents can drive up the cost of products.{{sfn|O'Regan|2022|p=398}} Unlike copyrights, patents generally only apply in the jurisdiction where they were issued.{{sfn|O'Regan|2022|p=399}} | ||
==Impact== | ==Impact== | ||
Line 88: | Line 89: | ||
<!-- ] the man is using are actually ]s that require software to function.{{sfn|Kitchin |Dodge|2011|p=47}}{{sfn|Jones|2014|p=xxviii}}]] --> | <!-- ] the man is using are actually ]s that require software to function.{{sfn|Kitchin |Dodge|2011|p=47}}{{sfn|Jones|2014|p=xxviii}}]] --> | ||
] | ] | ||
Engineer ] writes that "computers and software are making profound changes to every aspect of human life: education, work, warfare, entertainment, medicine, law, and everything else".{{sfn|Jones|2014|p=32}} It has become ubiquitous in ] in ].{{sfn|Kitchin |Dodge|2011|p=iv}} In many cases, software augments the functionality of existing technologies such as household ] and ]s.{{sfn|Kitchin |Dodge|2011|p=5}} Software also spawned entirely new technologies such as ], ], ], and ].{{sfn|Kitchin |Dodge|2011|p=5}}{{sfn|Jones|2014|p=xxviii}} New methods of communication, including ], ]s, ]s, ], ]s, and ], were enabled by the Internet.{{sfn|Manovich|2013|p=329}} Massive amounts of knowledge exceeding any paper-based library are now available with a quick ].{{sfn|Jones|2014|p=xxviii}} Most creative professionals have switched to software-based tools such as ], ], digital ], and ].{{sfn|Manovich|2013|p=333}} Almost every complex device is controlled by software.{{sfn|Jones|2014|p=xxviii}} | Engineer ] writes that "computers and software are making profound changes to every aspect of human life: education, work, warfare, entertainment, medicine, law, and everything else".{{sfn|Jones|2014|p=32}} It has become ubiquitous in ] in ].{{sfn|Kitchin |Dodge|2011|p=iv}} In many cases, software augments the functionality of existing technologies such as household ] and ]s.{{sfn|Kitchin |Dodge|2011|p=5}} Software also spawned entirely new technologies such as ], ], ], and ].{{sfn|Kitchin |Dodge|2011|p=5}}{{sfn|Jones|2014|p=xxviii}} New methods of communication, including ], ]s, ]s, ], ]s, and ], were enabled by the Internet.{{sfn|Manovich|2013|p=329}} Massive amounts of knowledge exceeding any paper-based library are now available with a quick ].{{sfn|Jones|2014|p=xxviii}} Most creative professionals have switched to software-based tools such as ], ], digital ], and ].{{sfn|Manovich|2013|p=333}} Almost every complex device is controlled by software.{{sfn|Jones|2014|p=xxviii}} | ||
==References== | ==References== | ||
Line 95: | Line 96: | ||
===Sources=== | ===Sources=== | ||
{{refbegin|indent=yes}} | {{refbegin|indent=yes}} | ||
*{{cite book |last1=Ablon |first1=Lillian |last2=Bogart |first2=Andy |title=Zero Days, Thousands of Nights: The Life and Times of Zero-Day Vulnerabilities and Their Exploits |date=2017 |publisher=Rand Corporation |isbn=978-0-8330-9761-3 |language=en|url=https://www.rand.org/content/dam/rand/pubs/research_reports/RR1700/RR1751/RAND_RR1751.pdf}} |
*{{cite book |last1=Ablon |first1=Lillian |last2=Bogart |first2=Andy |title=Zero Days, Thousands of Nights: The Life and Times of Zero-Day Vulnerabilities and Their Exploits |date=2017 |publisher=Rand Corporation |isbn=978-0-8330-9761-3 |language=en|url=https://www.rand.org/content/dam/rand/pubs/research_reports/RR1700/RR1751/RAND_RR1751.pdf}} | ||
*{{cite book |last1=Anderson |first1=Thomas |last2=Dahlin |first2=Michael |author1-link=Thomas E. Anderson |title=Operating Systems: Principles and Practice |date=2014 |publisher=Recursive Books |isbn=978-0-9856735-2-9 |edition=2 |language=en}} | *{{cite book |last1=Anderson |first1=Thomas |last2=Dahlin |first2=Michael |author1-link=Thomas E. Anderson |title=Operating Systems: Principles and Practice |date=2014 |publisher=Recursive Books |isbn=978-0-9856735-2-9 |edition=2 |language=en}} | ||
*{{cite book |last1=Campbell-Kelly |first1=Martin |last2=Garcia-Swartz |first2=Daniel D. |title=From Mainframes to Smartphones: A History of the International Computer Industry |date=2015 |publisher=Harvard University Press |isbn=978-0-674-28655-9 |language=en}} | *{{cite book |last1=Campbell-Kelly |first1=Martin |last2=Garcia-Swartz |first2=Daniel D. |title=From Mainframes to Smartphones: A History of the International Computer Industry |date=2015 |publisher=Harvard University Press |isbn=978-0-674-28655-9 |language=en}} | ||
Line 122: | Line 123: | ||
*{{cite book |last1=Varga |first1=Ervin |title=Unraveling Software Maintenance and Evolution: Thinking Outside the Box |date=2018 |publisher=Springer |isbn=978-3-319-71303-8 |language=en}} | *{{cite book |last1=Varga |first1=Ervin |title=Unraveling Software Maintenance and Evolution: Thinking Outside the Box |date=2018 |publisher=Springer |isbn=978-3-319-71303-8 |language=en}} | ||
{{refend}} | {{refend}} | ||
⚫ | {{subject bar|Free and open-source software|auto=1}} | ||
{{Software digital distribution platforms|state=collapsed}} | {{Software digital distribution platforms|state=collapsed}} | ||
⚫ | {{subject bar|Free and open-source software|auto=1}} | ||
{{Authority control}} | {{Authority control}} | ||
{{Use dmy dates|date=May 2017}} | |||
] | ] |
Latest revision as of 00:21, 24 November 2024
Instructions a computer can execute For other uses, see Software (disambiguation).
Software consists of computer programs that instruct the execution of a computer. Software also includes design documents and specifications.
The history of software is closely tied to the development of digital computers in the mid-20th century. Early programs were written in the machine language specific to the hardware. The introduction of high-level programming languages in 1958 allowed for more human-readable instructions, making software development easier and more portable across different computer architectures. Software in a programming language is run through a compiler or interpreter to execute on the architecture's hardware. Over time, software has become complex, owing to developments in networking, operating systems, and databases.
Software can generally be categorized into two main types:
- operating systems, which manage hardware resources and provide services for applications
- application software, which performs specific tasks for users
The rise of cloud computing has introduced the new software delivery model Software as a Service (SaaS). In SaaS, applications are hosted by a provider and accessed over the Internet.
The process of developing software involves several stages. The stages include software design, programming, testing, release, and maintenance. Software quality assurance and security are critical aspects of software development, as bugs and security vulnerabilities can lead to system failures and security breaches. Additionally, legal issues such as software licenses and intellectual property rights play a significant role in the distribution of software products.
History
Main article: History of softwareThe first use of the word software is credited to mathematician John Wilder Tukey in 1958. The first programmable computers, which appeared at the end of the 1940s, were programmed in machine language. Machine language is difficult to debug and not portable across different computers. Initially, hardware resources were more expensive than human resources. As programs became complex, programmer productivity became the bottleneck. The introduction of high-level programming languages in 1958 hid the details of the hardware and expressed the underlying algorithms into the code . Early languages include Fortran, Lisp, and COBOL.
Types
See also: Software categoriesThere are two main types of software:
- Operating systems are "the layer of software that manages a computer's resources for its users and their applications". There are three main purposes that an operating system fulfills:
- Allocating resources between different applications, deciding when they will receive central processing unit (CPU) time or space in memory.
- Providing an interface that abstracts the details of accessing hardware details (like physical memory) to make things easier for programmers.
- Offering common services, such as an interface for accessing network and disk devices. This enables an application to be run on different hardware without needing to be rewritten.
- Application software runs on top of the operating system and uses the computer's resources to perform a task. There are many different types of application software because the range of tasks that can be performed with modern computers is so large. Applications account for most software and require the environment provided by an operating system, and often other applications, in order to function.
Software can also be categorized by how it is deployed. Traditional applications are purchased with a perpetual license for a specific version of the software, downloaded, and run on hardware belonging to the purchaser. The rise of the Internet and cloud computing enabled a new model, software as a service (SaaS), in which the provider hosts the software (usually built on top of rented infrastructure or platforms) and provides the use of the software to customers, often in exchange for a subscription fee. By 2023, SaaS products—which are usually delivered via a web application—had become the primary method that companies deliver applications.
Software development and maintenance
Software companies aim to deliver a high-quality product on time and under budget. A challenge is that software development effort estimation is often inaccurate. Software development begins by conceiving the project, evaluating its feasibility, analyzing the business requirements, and making a software design. Most software projects speed up their development by reusing or incorporating existing software, either in the form of commercial off-the-shelf (COTS) or open-source software. Software quality assurance is typically a combination of manual code review by other engineers and automated software testing. Due to time constraints, testing cannot cover all aspects of the software's intended functionality, so developers often focus on the most critical functionality. Formal methods are used in some safety-critical systems to prove the correctness of code, while user acceptance testing helps to ensure that the product meets customer expectations. There are a variety of software development methodologies, which vary from completing all steps in order to concurrent and iterative models. Software development is driven by requirements taken from prospective users, as opposed to maintenance, which is driven by events such as a change request.
Frequently, software is released in an incomplete state when the development team runs out of time or funding. Despite testing and quality assurance, virtually all software contains bugs where the system does not work as intended. Post-release software maintenance is necessary to remediate these bugs when they are found and keep the software working as the environment changes over time. New features are often added after the release. Over time, the level of maintenance becomes increasingly restricted before being cut off entirely when the product is withdrawn from the market. As software ages, it becomes known as legacy software and can remain in use for decades, even if there is no one left who knows how to fix it. Over the lifetime of the product, software maintenance is estimated to comprise 75 percent or more of the total development cost.
Completing a software project involves various forms of expertise, not just in software programmers but also testing, documentation writing, project management, graphic design, user experience, user support, marketing, and fundraising.
Quality and security
Main articles: Software quality and Computer securitySoftware quality is defined as meeting the stated requirements as well as customer expectations. Quality is an overarching term that can refer to a code's correct and efficient behavior, its reusability and portability, or the ease of modification. It is usually more cost-effective to build quality into the product from the beginning rather than try to add it later in the development process. Higher quality code will reduce lifetime cost to both suppliers and customers as it is more reliable and easier to maintain. Software failures in safety-critical systems can be very serious including death. By some estimates, the cost of poor quality software can be as high as 20 to 40 percent of sales. Despite developers' goal of delivering a product that works entirely as intended, virtually all software contains bugs.
The rise of the Internet also greatly increased the need for computer security as it enabled malicious actors to conduct cyberattacks remotely. If a bug creates a security risk, it is called a vulnerability. Software patches are often released to fix identified vulnerabilities, but those that remain unknown (zero days) as well as those that have not been patched are still liable for exploitation. Vulnerabilities vary in their ability to be exploited by malicious actors, and the actual risk is dependent on the nature of the vulnerability as well as the value of the surrounding system. Although some vulnerabilities can only be used for denial of service attacks that compromise a system's availability, others allow the attacker to inject and run their own code (called malware), without the user being aware of it. To thwart cyberattacks, all software in the system must be designed to withstand and recover from external attack. Despite efforts to ensure security, a significant fraction of computers are infected with malware.
Encoding and execution
Programming languages
Main article: Programming languageProgramming languages are the format in which software is written. Since the 1950s, thousands of different programming languages have been invented; some have been in use for decades, while others have fallen into disuse. Some definitions classify machine code—the exact instructions directly implemented by the hardware—and assembly language—a more human-readable alternative to machine code whose statements can be translated one-to-one into machine code—as programming languages. Programs written in the high-level programming languages used to create software share a few main characteristics: knowledge of machine code is not necessary to write them, they can be ported to other computer systems, and they are more concise and human-readable than machine code. They must be both human-readable and capable of being translated into unambiguous instructions for computer hardware.
Compilation, interpretation, and execution
The invention of high-level programming languages was simultaneous with the compilers needed to translate them automatically into machine code. Most programs do not contain all the resources needed to run them and rely on external libraries. Part of the compiler's function is to link these files in such a way that the program can be executed by the hardware. Once compiled, the program can be saved as an object file and the loader (part of the operating system) can take this saved file and execute it as a process on the computer hardware. Some programming languages use an interpreter instead of a compiler. An interpreter converts the program into machine code at run time, which makes them 10 to 100 times slower than compiled programming languages.
Legal issues
Liability
Main article: Software product liabilitySoftware is often released with the knowledge that it is incomplete or contains bugs. Purchasers knowingly buy it in this state, which has led to a legal regime where liability for software products is significantly curtailed compared to other products.
Licenses
Main articles: Software license and Software copyrightSource code is protected by copyright law that vests the owner with the exclusive right to copy the code. The underlying ideas or algorithms are not protected by copyright law, but are often treated as a trade secret and concealed by such methods as non-disclosure agreements. Software copyright has been recognized since the mid-1970s and is vested in the company that makes the software, not the employees or contractors who wrote it. The use of most software is governed by an agreement (software license) between the copyright holder and the user. Proprietary software is usually sold under a restrictive license that limits copying and reuse (often enforced with tools such as digital rights management (DRM)). Open-source licenses, in contrast, allow free use and redistribution of software with few conditions. Most open-source licenses used for software require that modifications be released under the same license, which can create complications when open-source software is reused in proprietary projects.
Patents
Main articles: Software patent and Software patent debatePatents give an inventor an exclusive, time-limited license for a novel product or process. Ideas about what software could accomplish are not protected by law and concrete implementations are instead covered by copyright law. In some countries, a requirement for the claimed invention to have an effect on the physical world may also be part of the requirements for a software patent to be held valid. Software patents have been historically controversial. Before the 1998 case State Street Bank & Trust Co. v. Signature Financial Group, Inc., software patents were generally not recognized in the United States. In that case, the Supreme Court decided that business processes could be patented. Patent applications are complex and costly, and lawsuits involving patents can drive up the cost of products. Unlike copyrights, patents generally only apply in the jurisdiction where they were issued.
Impact
Further information: Information AgeEngineer Capers Jones writes that "computers and software are making profound changes to every aspect of human life: education, work, warfare, entertainment, medicine, law, and everything else". It has become ubiquitous in everyday life in developed countries. In many cases, software augments the functionality of existing technologies such as household appliances and elevators. Software also spawned entirely new technologies such as the Internet, video games, mobile phones, and GPS. New methods of communication, including email, forums, blogs, microblogging, wikis, and social media, were enabled by the Internet. Massive amounts of knowledge exceeding any paper-based library are now available with a quick web search. Most creative professionals have switched to software-based tools such as computer-aided design, 3D modeling, digital image editing, and computer animation. Almost every complex device is controlled by software.
References
- Stair, Ralph M. (2003). Principles of Information Systems, Sixth Edition. Thomson. p. 16. ISBN 0-619-06489-7.
Software consists of computer programs that govern the operation of the computer.
- Jones 2014, pp. 19, 22.
- Tracy 2021, p. 2.
- Gabbrielli & Martini 2023, p. 519.
- Gabbrielli & Martini 2023, pp. 520–521.
- Gabbrielli & Martini 2023, p. 522.
- Gabbrielli & Martini 2023, p. 521.
- ^ Tracy 2021, p. 1.
- Anderson & Dahlin 2014, p. 6.
- ^ Anderson & Dahlin 2014, p. 7.
- Tanenbaum & Bos 2023, p. 5.
- Anderson & Dahlin 2014, pp. 7, 9, 13.
- Anderson & Dahlin 2014, pp. 6–7.
- Jones 2014, p. 121.
- Tracy 2021, p. 66.
- Tracy 2021, p. 72.
- ^ O'Regan 2022, p. 386.
- Campbell-Kelly & Garcia-Swartz 2015, pp. 156–157.
- Rosati & Lynn 2020, p. 23.
- Watt 2023, p. 4.
- O'Regan 2022, p. 7.
- O'Regan 2022, p. 5.
- ^ Dooley 2017, p. 1.
- O'Regan 2022, pp. 18, 110–111.
- Tracy 2021, pp. 43, 76.
- O'Regan 2022, pp. 117–118.
- O'Regan 2022, p. 54.
- O'Regan 2022, p. 267.
- O'Regan 2022, p. 20.
- O'Regan 2022, p. 9.
- Tripathy & Naik 2014, p. 26.
- Reifer 2012, p. 22.
- Tripathy & Naik 2014, pp. 4, 27.
- Tripathy & Naik 2014, p. 89.
- Tracy 2021, p. 3.
- Varga 2018, p. 6.
- Ulziit et al. 2015, p. 764.
- Tucker, Morelli & de Silva 2011, p. 7.
- Stull 2018, pp. 24–25.
- Galin 2018, p. 3.
- Galin 2018, p. 26.
- O'Regan 2022, pp. 68, 117.
- ^ O'Regan 2022, pp. 3, 268.
- Varga 2018, p. 12.
- O'Regan 2022, p. 119.
- Ablon & Bogart 2017, p. 1.
- Campbell-Kelly & Garcia-Swartz 2015, p. 164.
- ^ O'Regan 2022, p. 266.
- ^ Ablon & Bogart 2017, p. 2.
- Daswani & Elbayadi 2021, p. 25.
- Daswani & Elbayadi 2021, pp. 26–27.
- Haber & Hibbert 2018, pp. 5–6.
- Kitchin & Dodge 2011, p. 37.
- Tracy 2021, p. 117.
- Tracy 2021, pp. 118–120.
- Tracy 2021, pp. 118–119.
- Kitchin & Dodge 2011, p. 26.
- Tracy 2021, p. 121.
- Tracy 2021, pp. 122–123.
- O'Regan 2022, p. 375.
- Sebesta 2012, p. 28.
- Kitchin & Dodge 2011, pp. 36–37.
- O'Regan 2022, pp. 394–396.
- ^ O'Regan 2022, p. 403.
- O'Regan 2022, pp. 394, 404.
- Langer 2016, pp. 44–45.
- O'Regan 2022, p. 395.
- Gerardo Con Díaz, "The Text in the Machine: American Copyright Law and the Many Natures of Software, 1974–1978", Technology and Culture 57 (October 2016), 753–79.
- Jones 2014, p. 19.
- O'Regan 2022, p. 398.
- O'Regan 2022, p. 399.
- ^ Manovich 2013, p. 333.
- Jones 2014, p. 32.
- Kitchin & Dodge 2011, p. iv.
- ^ Kitchin & Dodge 2011, p. 5.
- ^ Jones 2014, p. xxviii.
- Manovich 2013, p. 329.
Sources
- Ablon, Lillian; Bogart, Andy (2017). Zero Days, Thousands of Nights: The Life and Times of Zero-Day Vulnerabilities and Their Exploits (PDF). Rand Corporation. ISBN 978-0-8330-9761-3.
- Anderson, Thomas; Dahlin, Michael (2014). Operating Systems: Principles and Practice (2 ed.). Recursive Books. ISBN 978-0-9856735-2-9.
- Campbell-Kelly, Martin; Garcia-Swartz, Daniel D. (2015). From Mainframes to Smartphones: A History of the International Computer Industry. Harvard University Press. ISBN 978-0-674-28655-9.
- Daswani, Neil; Elbayadi, Moudy (2021). Big Breaches: Cybersecurity Lessons for Everyone. Apress. ISBN 978-1-4842-6654-0.
- Dooley, John F. (2017). Software Development, Design and Coding: With Patterns, Debugging, Unit Testing, and Refactoring. Apress. ISBN 978-1-4842-3153-1.
- Gabbrielli, Maurizio; Martini, Simone (2023). Programming Languages: Principles and Paradigms (2nd ed.). Springer. ISBN 978-3-031-34144-1.
- Galin, Daniel (2018). Software Quality: Concepts and Practice. John Wiley & Sons. ISBN 978-1-119-13449-7.
- Haber, Morey J.; Hibbert, Brad (2018). Asset Attack Vectors: Building Effective Vulnerability Management Strategies to Protect Organizations. Apress. ISBN 978-1-4842-3627-7.
- Jones, Capers (2014). The Technical and Social History of Software Engineering. Pearson Education. ISBN 978-0-321-90342-6.
- Kitchin, Rob; Dodge, Martin (2011). Code/space: Software and Everyday Life. MIT Press. ISBN 978-0-262-04248-2.
- Langer, Arthur M. (2016). Guide to Software Development: Designing and Managing the Life Cycle. Springer. ISBN 978-1-4471-6799-0.
- Manovich, Lev (2013). Software Takes Command. Bloomsbury Academic. ISBN 978-1-62356-745-3.
- O'Regan, Gerard (2022). Concise Guide to Software Engineering: From Fundamentals to Application Methods. Springer Nature. ISBN 978-3-031-07816-3.
- Osterweil, Leon J. (2013). "What Is Software? The Role of Empirical Methods in Answering the Question". Perspectives on the Future of Software Engineering: Essays in Honor of Dieter Rombach. Springer. pp. 237–254. ISBN 978-3-642-37395-4.
- Rahman, Hanif Ur; da Silva, Alberto Rodrigues; Alzayed, Asaad; Raza, Mushtaq (2024). "A Systematic Literature Review on Software Maintenance Offshoring Decisions". Information and Software Technology. 172: 107475. doi:10.1016/j.infsof.2024.107475.
- Reifer, Donald J. (2012). Software Maintenance Success Recipes. CRC Press. ISBN 978-1-4398-5167-8.
- Rosati, Pierangelo; Lynn, Theo (2020). "Measuring the Business Value of Infrastructure Migration to the Cloud". Measuring the Business Value of Cloud Computing. Springer International Publishing. pp. 19–37. ISBN 978-3-030-43198-3.
- Sebesta, Robert W. (2012). Concepts of Programming Languages (10 ed.). Addison-Wesley. ISBN 978-0-13-139531-2.
- Stull, Edward (2018). UX Fundamentals for Non-UX Professionals: User Experience Principles for Managers, Writers, Designers, and Developers. Apress. ISBN 978-1-4842-3811-0.
- Tanenbaum, Andrew S.; Bos, Herbert (2023). Modern Operating Systems, Global Edition. Pearson Higher Ed. ISBN 978-1-292-72789-9.
- Tracy, Kim W. (2021). Software: A Technical History. Morgan & Claypool Publishers. ISBN 978-1-4503-8724-8.
- Tripathy, Priyadarshi; Naik, Kshirasagar (2014). Software Evolution and Maintenance: A Practitioner's Approach. John Wiley & Sons. ISBN 978-0-470-60341-3.
- Tucker, Allen; Morelli, Ralph; de Silva, Chamindra (2011). Software Development: An Open Source Approach. CRC Press. ISBN 978-1-4398-8460-7.
- Ulziit, Bayarbuyan; Warraich, Zeeshan Akhtar; Gencel, Cigdem; Petersen, Kai (2015). "A conceptual framework of challenges and solutions for managing global software maintenance". Journal of Software: Evolution and Process. 27 (10): 763–792. doi:10.1002/smr.1720.
- Watt, Andy (2023). Building Modern SaaS Applications with C# And . NET: Build, Deploy, and Maintain Professional SaaS Applications. Packt. ISBN 978-1-80461-087-9.
- Varga, Ervin (2018). Unraveling Software Maintenance and Evolution: Thinking Outside the Box. Springer. ISBN 978-3-319-71303-8.
- Media from Commons
- News from Wikinews
- Quotations from Wikiquote
- Textbooks from Wikibooks
- Resources from Wikiversity