Operating System Study Notes (42)-insights

Source: Internet
Author: User

I learned the operating system for a whileSource codeAnd write your own feelings.

 

The operating system is not as unfathomable as imagined. It is understandable according to the system startup process. So sometimes some people think that Linus is not as great as you think. It makes sense that Stallman, kernighan, Ritchie, and gosling are better than others.

 

The operating system is executed according to the CPU instructions. The write operating system runs the computer architecture and command structure according to the Turing machine theory.

 

How to store computing results and schedule processes is the core issue of the operating system. Other problems are implemented through this implementation.

 

CPU commands are the way for us to transport the CPU. The C and Assembly codes must be converted to machine commands.

 

Operating System writing cannot use pure C because C cannot provide corresponding CPU commandsCode.

 

Even if it is written in C, it is also related to the compiler. In particular, parameter passing rules.

 

Reading Source Code focuses on the data structure, which describes the data organization.

 

Data Structure andAlgorithmIs the cornerstone of the operating system.

 

In the past, I never understood how the kernel is running. The operating system book understands that it does not know how to implement the kernel. After reading the code, I basically understood that the kernel is not the bottom layer of the computer, the following are the CPU commands and designs. This can be referred to my previous blog about the use of the CPU design in the VHDL description. Even if you understand the basic design of the CPU, there are logical gates and other components. There is no end to tracing.

 

My feeling is that we generally use enough to understand the operating system theory. Too much management is too tired, and the time cost is not necessarily cost-effective. But after learning, I have a rational understanding.ProgramIt is helpful.

 

 

 

The last sentiment is actually two words: logic!

 

In factProgramming LanguageIt doesn't matter whether it is good or bad. Which of the following is the most important. To put it bluntly, everyone is a logical component.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.