Then why didn't it happen later? The reason is not difficult to understand, because there are more programs running.
Imagine, for example, when you use a computer, you may open a word document to write, open a web page to search for materials, open a PS to process materials, open a picture viewer to see the effect of materials, open a translation software to translate foreign languages, and plug in headphones to listen to music. At the same time, the anti-virus monitoring program, online upgrade detection program and thesaurus collection program of input method are still running in the computer background.
Now the problem is coming. Each program needs computer resources, including the computing resources of CPU, the main memory capacity of memory, the reading and writing traffic of hard disk, the network transmission traffic of network card, the data traffic inside the main line and so on.
The operating system has something to say.
For a program, in order to ensure the smooth operation of its own program, it is necessary to allocate as many resources as possible, but the computer resources are always limited. If everyone grabs resources by themselves, either everyone can't run together, or some programs crowd out the resources of other programs.
What's more, it is impossible for a programmer to predict what other programs are running in a computer at the same time, so it is very likely that the temporary data of one program is just similar to the key data of another program, and then there will be problems such as this program destroying that program data.
What is more troublesome is that our computer hardware is also made by different manufacturers, and their underlying hardware systems are different. No matter consumers or software manufacturers, of course, they don't want a certain software to run on this model of computer, but it can't run if it is changed.
Therefore, we need the operating program as a coordinator. On the one hand, the operating system provides a series of bottom interfaces and top standards to "smooth out" the hardware differences between different computers, so that as long as the operating systems are the same, the hardware can meet the minimum standards for software operation, and theoretically the software can be interoperable.
In addition, the operating system can allocate resources for all programs, and all programs need to apply to the operating system for permission to call computer resources, so that computer resources can be used to the maximum extent without conflicting programs.
What you see is what you get, huh?
Generally speaking, although the operating system itself will occupy some computer resources, it makes the computer run more stably and reduces the workload of software developers, because the process only needs to consider the standard interface of the operating system and does not need to consider the underlying differences of the hardware system.
Of course, the operating system will also have additional problems, such as malicious programs and computer viruses can also use these standard interfaces, and the algorithm of allocating resources for various programs in the operating system can never be perfect, let alone cope with endless software upgrades, so the operating system has to constantly provide various firewalls, monitors and patches to deal with such problems, so there are upgrade tips that you can never do. In addition, the operating system is also provided by commercial companies, and they always want to make money from it, so your computer is either not allowed to download or install it like Apple, or it is always allowed to play with a black screen and a blue screen like Microsoft.
blue screen ...
Therefore, solving a problem will always bring new problems, but fortunately, the new problems are always lighter than the old ones.
An 'ai
Without an operating system, it would look like this:
Work plan of human resources department 1
I started working on the 20th and have been working for half a year. In the intense, busy and