Software

Last updated

A diagram showing how the user interacts with application software on a typical desktop computer. The application software layer interfaces with the operating system, which in turn communicates with the hardware. The arrows indicate information flow. Operating system placement (software).svg
A diagram showing how the user interacts with application software on a typical desktop computer. The application software layer interfaces with the operating system, which in turn communicates with the hardware. The arrows indicate information flow.

Software is a collection of programs and data that tell a computer how to perform specific tasks. Software often includes associated software documentation. [1] This is in contrast to hardware, from which the system is built and which actually performs the work.

Contents

At the lowest programming level, executable code consists of machine language instructions supported by an individual processor—typically a central processing unit (CPU) or a graphics processing unit (GPU). Machine language consists of groups of binary values signifying processor instructions that change the state of the computer from its preceding state. For example, an instruction may change the value stored in a particular storage location in the computer—an effect that is not directly observable to the user. An instruction may also invoke one of many input or output operations, for example, displaying some text on a computer screen, causing state changes that should be visible to the user. The processor executes the instructions in the order they are provided, unless it is instructed to "jump" to a different instruction or is interrupted by the operating system. As of 2024, most personal computers, smartphone devices, and servers have processors with multiple execution units, or multiple processors performing computation together, so computing has become a much more concurrent activity than in the past.

The majority of software is written in high-level programming languages for example Python, JavaScript, Visual Basic, Delphi, Perl, PHP, ECMAScript, Ruby, C#, and Java. They are easier and more efficient for programmers because they are closer to natural languages than machine languages. [2] High-level languages are translated into machine language using a compiler, an interpreter, or a combination of the two. Software may also be written in a low-level assembly language, for example C, C++, Assembly, and Fortran. Assembly languages have a strong correspondence to the computer's machine language instructions and are translated into machine language using an assembler.

History

An algorithm for what would have been the first piece of software was written by Ada Lovelace in the 19th century, for the planned Analytical Engine. [3] She created proofs to show how the engine would calculate Bernoulli numbers. [3] Because of the proofs and the algorithm, she is considered the first computer programmer. [4] [5]

The first theory about software, prior to the creation of computers as we know them today, was proposed by Alan Turing in his 1936 essay, On Computable Numbers, with an Application to the Entscheidungsproblem (decision problem). [6] This eventually led to the creation of the academic fields of computer science and software engineering; both fields study software and its creation. [7] Computer science is the theoretical study of computer and software (Turing's essay is an example of computer science), whereas software engineering is the application of engineering principles to development of software. [8]

In 2000, Fred Shapiro, a librarian at the Yale Law School, published a letter revealing that John Wilder Tukey's 1958 paper "The Teaching of Concrete Mathematics" [9] [10] contained the earliest known usage of the term "software" found in a search of JSTOR's electronic archives, predating the Oxford English Dictionary's citation by two years. [11] This led many to credit Tukey with coining the term, particularly in obituaries published that same year, [12] although Tukey never claimed credit for any such coinage. In 1995, Paul Niquette claimed he had originally coined the term in October 1953, although he could not find any documents supporting his claim. [13] The earliest known publication of the term "software" in an engineering context was in August 1953 by Richard R. Carhart, in a Rand Corporation Research Memorandum. [14]

Types

Blender, a free software program Cube in Blender Editor.jpg
Blender, a free software program

On virtually all computer platforms, software can be grouped into a few broad categories.

Purpose, or domain of use

Based on the goal, computer software can be divided into:

Nature or domain of execution

Programming tools

Programming tools are also software in the form of programs or applications that developers use to create, debug, maintain, or otherwise support software. [25] [ better source needed ]

Software is written in one or more programming languages; there are many programming languages in existence, and each has at least one implementation, each of which consists of its own set of programming tools. These tools may be relatively self-contained programs such as compilers, debuggers, interpreters, linkers, and text editors, that can be combined to accomplish a task; or they may form an integrated development environment (IDE), which combines much or all of the functionality of such self-contained tools. [26] IDEs may do this by either invoking the relevant individual tools or by re-implementing their functionality in a new way.[ citation needed ] An IDE can make it easier to do specific tasks, such as searching for files in a particular project. [27] Many programming language implementations provide the option of using both individual tools or an IDE.[ citation needed ]

Topics

Architecture

People who use modern general purpose computers (as opposed to embedded systems, analog computers and supercomputers) usually see three layers of software performing a variety of tasks: platform, application, and user software.[ citation needed ]

Execution

Computer software has to be "loaded" into the computer's storage (such as the hard drive or memory). Once the software has loaded, the computer is able to execute the software. This involves passing instructions from the application software, through the system software, to the hardware which ultimately receives the instruction as machine code. Each instruction causes the computer to carry out an operation—moving data, carrying out a computation, or altering the control flow of instructions.[ citation needed ]

Data movement is typically from one place in memory to another. Sometimes it involves moving data between memory and registers which enable high-speed data access in the CPU. Moving data, especially large amounts of it, can be costly; this is sometimes avoided by using "pointers" to data instead.[ citation needed ] Computations include simple operations such as incrementing the value of a variable data element. More complex computations may involve many operations and data elements together.[ citation needed ]

Quality and reliability

Software quality is very important, especially for commercial and system software. If software is faulty, it can delete a person's work, crash the computer and do other unexpected things. Faults and errors are called "bugs" which are often discovered during alpha and beta testing.[ citation needed ] Software is often also a victim to what is known as software aging, the progressive performance degradation resulting from a combination of unseen bugs.[ citation needed ]

Many bugs are discovered and fixed through software testing. However, software testing rarely—if ever—eliminates every bug; some programmers say that "every program has at least one more bug" (Lubarsky's Law). [29] In the waterfall method of software development, separate testing teams are typically employed, but in newer approaches, collectively termed agile software development, developers often do all their own testing, and demonstrate the software to users/clients regularly to obtain feedback.[ citation needed ] Software can be tested through unit testing, regression testing and other methods, which are done manually, or most commonly, automatically, since the amount of code to be tested can be large.[ citation needed ] Programs containing command software enable hardware engineering and system operations to function much easier together. [30]

License

The software's license gives the user the right to use the software in the licensed environment, and in the case of free software licenses, also grants other rights such as the right to make copies. [31]

Proprietary software can be divided into two types:

Open-source software comes with a free software license, granting the recipient the rights to modify and redistribute the software. [34]

Patents

Software patents, like other types of patents, are theoretically supposed to give an inventor an exclusive, time-limited license for a detailed idea (e.g. an algorithm) on how to implement a piece of software, or a component of a piece of software. Ideas for useful things that software could do, and user requirements, are not supposed to be patentable, and concrete implementations (i.e. the actual software packages implementing the patent) are not supposed to be patentable either—the latter are already covered by copyright, generally automatically. So software patents are supposed to cover the middle area, between requirements and concrete implementation. 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—although since all useful software has effects on the physical world, this requirement may be open to debate. Meanwhile, American copyright law was applied to various aspects of the writing of the software code. [35]

Software patents are controversial in the software industry with many people holding different views about them. One of the sources of controversy is that the aforementioned split between initial ideas and patent does not seem to be honored in practice by patent lawyers—for example the patent for aspect-oriented programming (AOP), which purported to claim rights over any programming tool implementing the idea of AOP, howsoever implemented.[ citation needed ] Another source of controversy is the effect on innovation, with many distinguished experts and companies arguing that software is such a fast-moving field that software patents merely create vast additional litigation costs and risks, and actually retard innovation.[ citation needed ] In the case of debates about software patents outside the United States, the argument has been made that large American corporations and patent lawyers are likely to be the primary beneficiaries of allowing or continue to allow software patents.[ citation needed ]

Design and implementation

Design and implementation of software vary depending on the complexity of the software. For instance, the design and creation of Microsoft Word took much more time than designing and developing Microsoft Notepad because the former has much more basic functionality.[ citation needed ]

Software is usually developed in integrated development environments (IDE) like Eclipse, IntelliJ and Microsoft Visual Studio that can simplify the process and compile the software. [36] As noted in a different section, software is usually created on top of existing software and the application programming interface (API) that the underlying software provides like GTK+, JavaBeans or Swing.[ citation needed ] Libraries (APIs) can be categorized by their purpose. For instance, the Spring Framework is used for implementing enterprise applications, the Windows Forms library is used for designing graphical user interface (GUI) applications like Microsoft Word, and Windows Communication Foundation is used for designing web services.[ citation needed ] When a program is designed, it relies upon the API. For instance, a Microsoft Windows desktop application might call API functions in the .NET Windows Forms library like Form1.Close() and Form1.Show() [37] to close or open the application. Without these APIs, the programmer needs to write these functionalities entirely themselves. Companies like Oracle and Microsoft provide their own APIs so that many applications are written using their software libraries that usually have numerous APIs in them.[ citation needed ]

Data structures such as hash tables, arrays, and binary trees, and algorithms such as quicksort, can be useful for creating software.

Computer software has special economic characteristics that make its design, creation, and distribution different from most other economic goods.[ specify ] [38] [39]

A person who creates software is called a programmer, software engineer or software developer, terms that all have a similar meaning. More informal terms for programmer also exist such as "coder" and "hacker" although use of the latter word may cause confusion, because it is more often used to mean someone who illegally breaks into computer systems.

See also

Related Research Articles

Computer programming or coding is the composition of sequences of instructions, called programs, that computers can follow to perform tasks. It involves designing and implementing algorithms, step-by-step specifications of procedures, by writing code in one or more programming languages. Programmers typically use high-level programming languages that are more easily intelligible to humans than machine code, which is directly executed by the central processing unit. Proficient programming usually requires expertise in several different subjects, including knowledge of the application domain, details of programming languages and generic code libraries, specialized algorithms, and formal logic.

<span class="mw-page-title-main">Java applet</span> Small application written in Java

Java applets were small applications written in the Java programming language, or another programming language that compiles to Java bytecode, and delivered to users in the form of Java bytecode. The user launched the Java applet from a web page, and the applet was then executed within a Java virtual machine (JVM) in a process separate from the web browser itself. A Java applet could appear in a frame of the web page, a new application window, a program from Sun called appletviewer, or a stand-alone tool for testing applets.

<span class="mw-page-title-main">Java (programming language)</span> Object-oriented programming language

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities that are typically not available in traditional compiled languages.

<span class="mw-page-title-main">Java virtual machine</span> Virtual machine that runs Java programs

A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally describes what is required in a JVM implementation. Having a specification ensures interoperability of Java programs across different implementations so that program authors using the Java Development Kit (JDK) need not worry about idiosyncrasies of the underlying hardware platform.

<span class="mw-page-title-main">Operating system</span> Software that manages computer hardware resources

An operating system (OS) is system software that manages computer hardware and software resources, and provides common services for computer programs.

<span class="mw-page-title-main">Debugger</span> Computer program used to test and debug other programs

A debugger or debugging tool is a computer program used to test and debug other programs. The main use of a debugger is to run the target program under controlled conditions that permit the programmer to track its execution and monitor changes in computer resources that may indicate malfunctioning code. Typical debugging facilities include the ability to run or halt the target program at specific points, display the contents of memory, CPU registers or storage devices, and modify memory or register contents in order to enter selected test data that might be a cause of faulty program execution.

<span class="mw-page-title-main">Single instruction, multiple data</span> Type of parallel processing

Single instruction, multiple data (SIMD) is a type of parallel processing in Flynn's taxonomy. SIMD can be internal and it can be directly accessible through an instruction set architecture (ISA), but it should not be confused with an ISA. SIMD describes computers with multiple processing elements that perform the same operation on multiple data points simultaneously.

In computing, cross-platform software is computer software that is designed to work in several computing platforms. Some cross-platform software requires a separate build for each platform, but some can be directly run on any platform without special preparation, being written in an interpreted language or compiled to portable bytecode for which the interpreters or run-time packages are common or standard components of all supported platforms.

Bytecode is a form of instruction set designed for efficient execution by a software interpreter. Unlike human-readable source code, bytecodes are compact numeric codes, constants, and references that encode the result of compiler parsing and performing semantic analysis of things like type, scope, and nesting depths of program objects.

System software is software designed to provide a platform for other software. Examples of system software include operating systems (OS).

<span class="mw-page-title-main">Screen reader</span> Assistive technology that converts text or images to speech or Braille

A screen reader is a form of assistive technology (AT) that renders text and image content as speech or braille output. Screen readers are essential to people who are blind, and are useful to people who are visually impaired, illiterate, or have a learning disability. Screen readers are software applications that attempt to convey what people with normal eyesight see on a display to their users via non-visual means, like text-to-speech, sound icons, or a braille device. They do this by applying a wide variety of techniques that include, for example, interacting with dedicated accessibility APIs, using various operating system features, and employing hooking techniques.

Hardware abstractions are sets of routines in software that provide programs with access to hardware resources through programming interfaces. The programming interface allows all devices in a particular class C of hardware devices to be accessed through identical interfaces even though C may contain different subclasses of devices that each provide a different hardware interface.

An application program is a computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end-users. Word processors, media players, and accounting software are examples. The collective noun "application software" refers to all applications collectively. The other principal classifications of software are system software, relating to the operation of the computer, and utility software ("utilities").

<span class="mw-page-title-main">Java (software platform)</span> Set of computer software and specifications

Java is a set of computer software and specifications that provides a software platform for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety of computing platforms from embedded devices and mobile phones to enterprise servers and supercomputers. Java applets, which are less common than standalone Java applications, were commonly run in secure, sandboxed environments to provide many features of native applications through being embedded in HTML pages.

<span class="mw-page-title-main">Software portability</span> Ability of a program to run on different platforms with little alteration

Software portability is a design objective for source code to be easily made to run on different platforms. An aid to portability is the generalized abstraction between the application logic and system interfaces. When software with the same functionality is produced for several computing platforms, portability is the key issue for development cost reduction.

Comparison of the Java and .NET platforms.

Proprietary software is software that grants its creator, publisher, or other rightsholder or rightsholder partner a legal monopoly by modern copyright and intellectual property law to exclude the recipient from freely sharing the software or modifying it, and—in some cases, as is the case with some patent-encumbered and EULA-bound software—from making use of the software on their own, thereby restricting their freedoms.

<span class="mw-page-title-main">Scripting language</span> Programming language for run-time events

A scripting language or script language is a programming language that is used to manipulate, customize, and automate the facilities of an existing system. Scripting languages are usually interpreted at runtime rather than compiled.

In computer programming and software development, debugging is the process of finding and resolving bugs within computer programs, software, or systems.

<span class="mw-page-title-main">API</span> Software interface between computer programs

An application programming interface (API) is a way for two or more computer programs or components to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build or use such a connection or interface is called an API specification. A computer system that meets this standard is said to implement or expose an API. The term API may refer either to the specification or to the implementation. Whereas a system's user interface dictates how its end-users interact with the system in question, its API dictates how to write code that takes advantage of that system's capabilities.

References

  1. "ISO/IEC 2382:2015". ISO. 3 September 2020. Archived from the original on 16 March 2023. Retrieved 26 May 2022. [Software includes] all or part of the programs, procedures, rules, and associated documentation of an information processing system.
  2. "Compiler construction". cs.uu.nl. Archived from the original on 2 November 2013.
  3. 1 2 Evans 2018, p. 21.
  4. Fuegi, J.; Francis, J. (2003). "Lovelace & Babbage and the creation of the 1843 'notes'" (PDF). Annals of the History of Computing. 25 (4): 16–26. doi:10.1109/MAHC.2003.1253887. S2CID   40077111. Archived from the original (PDF) on 15 February 2020.
  5. "Ada Lovelace honoured by Google doodle". The Guardian. 10 December 2012. Archived from the original on 25 December 2018. Retrieved 25 November 2018.
  6. Turing, Alan Mathison (1936). "On Computable Numbers, with an Application to the Entscheidungsproblem" (PDF). Journal of Mathematics. 58: 230–265. Archived (PDF) from the original on 9 October 2022. Retrieved 28 August 2022.
  7. "What's the Difference Between Computer Science and Software Engineering?". eVidyalam. Retrieved 24 October 2023.
  8. Lorge Parnas, David (1 November 1984). "Software Engineering Principles". INFOR: Information Systems and Operational Research. 22 (4): 303–316. doi:10.1080/03155986.1984.11731932. ISSN   0315-5986.
  9. Tukey, John Wilder (January 1958). "The Teaching of Concrete Mathematics". American Mathematical Monthly . 65 (1). Taylor & Francis, Ltd. / Mathematical Association of America: 1–9, 2. doi:10.2307/2310294. ISSN   0002-9890. JSTOR   2310294. CODEN   AMMYAE. […] Today the "software" comprising the carefully planned interpretive routines, compilers, and other aspects of automative programming are at least as important to the modern electronic calculator as its "hardware" of tubes, transistors, wires, tapes, and the like. […]
  10. Beebe, Nelson H. F. (22 August 2017). "Chapter I - Integer arithmetic". The Mathematical-Function Computation Handbook - Programming Using the MathCW Portable Software Library (1 ed.). Salt Lake City, UT, US: Springer International Publishing AG. pp. 969, 1035. doi:10.1007/978-3-319-64110-2. ISBN   978-3-319-64109-6. LCCN   2017947446. S2CID   30244721.
  11. Shapiro, Fred (2000). "Origin of the Term Software: Evidence from the JSTOR Electronic Journal Archive" (PDF). IEEE Annals of the History of Computing . 22 (2): 69–71. doi:10.1109/mahc.2000.887997. Archived from the original (PDF) on 5 June 2003. Retrieved 25 June 2013.
  12. Leonhardt, David (28 July 2000). "John Tukey, 85, Statistician; Coined the Word 'Software'". The New York Times . Archived from the original on 16 June 2021. Retrieved 24 September 2012.
  13. Niquette, R. Paul (2006), Softword: Provenance for the Word 'Software, ISBN   1-58922-233-4, archived from the original on 8 August 2019, retrieved 18 August 2019
  14. Carhart, Richard (1953). A survey of the current status of the electronic reliability problem (PDF). Santa Monica, CA: Rand Corporation. p. 69. Archived (PDF) from the original on 9 October 2022. […] It will be recalled from Sec. 1.6 that the term personnel was defined to include people who come into direct contact with the hardware, from production to field use, i.e., people who assemble, inspect, pack, ship, handle, install, operate, and maintain electronic equipment. In any of these phases personnel failures may result in unoperational gear. As with the hardware factors, there is almost no quantitative data concerning these software or human factors in reliability: How many faults are caused by personnel, why they occur, and what can be done to remove the errors. […]
  15. "System Software". The University of Mississippi. Archived from the original on 30 May 2001.
  16. "'App' voted 2010 word of the year by the American Dialect Society (UPDATED)". American Dialect Society. 8 January 2011. Archived from the original on 5 September 2015. Retrieved 28 January 2012.
  17. "Press Release". web.archive.org. 16 September 2007. Retrieved 17 March 2024.
  18. "Usage Statistics of JavaScript as Client-side Programming Language on Websites". W3Techs. Retrieved 27 February 2024.
  19. "What is a Plugin?". Computer Hope. 6 June 2021. Archived from the original on 26 January 2022. Retrieved 26 January 2022.
  20. "Embedded Software—Technologies and Trends". IEEE Computer Society. May–June 2009. Archived from the original on 28 October 2013. Retrieved 6 November 2013.
  21. "Tessel 2... Leverage all the libraries of Node.JS to create useful devices in minutes with Tessel". tessel.io. Archived from the original on 26 May 2021. Retrieved 8 May 2021.
  22. "Node.js Raspberry Pi GPIO Introduction". w3schools.com. Archived from the original on 13 August 2021. Retrieved 3 May 2020.
  23. "Espruino – JavaScript for Microcontrollers". espruino.com. Archived from the original on 1 May 2020. Retrieved 3 May 2020.
  24. Landskov, D.; Davidson, S.; Shriver, B.; Mallett, P.W. (1980). "Local microcode compaction techniques". ACM Computing Surveys. 12 (3): 261–294. doi:10.1145/356819.356822. S2CID   16238043.
  25. "What is a Programming Tool? - Definition from Techopedia". Techopedia.com. 2 July 2020. Archived from the original on 26 January 2022. Retrieved 26 January 2022.
  26. Programming Language Design and Implementation. doi:10.1007/978-3-031-11806-7.
  27. "What is an IDE? - Integrated Development Environment Explained - AWS". Amazon Web Services, Inc. Retrieved 25 April 2024.
  28. Indeed Editorial Team (28 December 2022). "What Is Application Software? Definition, Types and FAQs". Indeed.
  29. "scripting intelligence book examples". GitHub . 9 May 2018. Archived from the original on 6 November 2015. Retrieved 6 November 2015.
  30. "What is System Software? – Definition from WhatIs.Com". WhatIs.com. Archived from the original on 27 February 2023. Retrieved 27 February 2023.
  31. "What is a Software License? Everything You Need to Know". CIO. Archived from the original on 27 February 2023. Retrieved 27 February 2023.
  32. "Freeware vs Shareware - Difference and Comparison | Diffen". www.diffen.com. Archived from the original on 26 January 2022. Retrieved 26 January 2022.
  33. Morin, Andrew; Urban, Jennifer; Sliz, Piotr (26 July 2012). "A Quick Guide to Software Licensing for the Scientist-Programmer". PLOS Computational Biology. 8 (7): e1002598. Bibcode:2012PLSCB...8E2598M. doi: 10.1371/journal.pcbi.1002598 . ISSN   1553-7358. PMC   3406002 . PMID   22844236.
  34. "Open source software explained". IONOS Digitalguide. Archived from the original on 26 January 2022. Retrieved 26 January 2022.
  35. 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.
  36. Constantin, Alin. "Microsoft Source Code Control Interface". Alin Constantin. Archived from the original on 18 February 2008. Retrieved 3 January 2008.
  37. "MSDN Library". Microsoft. Archived from the original on 11 June 2010. Retrieved 14 June 2010.
  38. v. Engelhardt, Sebastian (2008). "The Economic Properties of Software". Jena Economic Research Papers. 2 (2008–045). Archived from the original on 5 January 2016.
  39. Kaminsky, Dan (2 March 1999). "Why Open Source Is The Optimum Economic Paradigm for Software". dankaminsky.com. Archived from the original on 22 May 2012. Retrieved 19 November 2021.

Sources