Linus: How the debugger and kernel develop

Source: Internet
Author: User
Article Title: Linus: How the debugger and kernel develop. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I think these ideas are correct about Linux kernel development because they all express different users' preferences. These preferences are all requirements. Different users prefer to use different environments. These all reflect the flexibility and developability of LINUX, which are not available in other systems. This is one reason I like LINUX.
  
For different development environments, individuals have their own preferences and preferences, and each environment has its own characteristics. I think this debate should be maintained, because this debate will promote the development of LINUX. Various excellent tools can be developed. The survival of these tools is not determined by one or two users, but by a large number of LINUX users.
  
I think different ideas will show different styles. But I don't want LINUX versions to be very large, and they don't integrate with each other. I think Linus's point of view is completely correct, ensuring the uniformity and integrity of the LINUX kernel. This ensures the development of different versions of LINUX.
  
**************************************** ***********************************
  
I don't like debuggers. I never, and I will never. I only use GDB, and I don't always use it as a debugger. I just use it as a parser that can be used to analyze programs.
  
No comments or arguments about the kernel debugger touched me, even the slightest. Believe me, I have received many suggestions in this regard over the years. In the end, they can only come down to a very basic (something): -- development should be easier, we can add many new things faster.
  
Frankly speaking, I don't care ). I don't think it is easy to develop the kernel. I do not agree with the method of gradually searching for errors through code. I think the extra visibility of the system is not a necessary good thing.
  
Obviously, if you don't use a kernel debugger, you can come up with this idea:
  
-- You will encounter a series of problems: once an error occurs, the system will crash and you will fail;
  
-- Linux kernel programming is too difficult and time-consuming, and people will lose confidence in it;
  
-- It takes a long time to create new features.
  
No one can explain these questions to me. For me, this is not a problem, it is a feature. This is not only proof of proof, but also a good thing. This is obviously not a problem.
  
It takes a long time to create new features-this is not a strong argument in the debugger. For Linux, the lack of features or new code is not a problem. In fact, this is true for the entire software industry. On the contrary, my main job is to say "no" to those new features, rather than looking for them.
  
Indeed, when the (system) crashes, you can only get two results: You can either start over with caution or start complaining about the kernel debugger.
  
Frankly speaking, if (in the process of engineering) a careless situation occurs, I would rather discard those who are not careful at the beginning. It sounds heartless, And even if God sounds heartless. But this is not what people think, "If you cannot afford the pressure, simply leave. Here (the meaning included) is more advanced. I 'd rather not work with those careless people. This is the evolution of software development.
  
In this way, people are divided into two types of cold and heartless views. I would rather choose the first person to endure them.
  
I am a selfish person. I don't know why people have to consider different aspects, but they do ). People think that I am a good person, but in fact I am a selfish ghost, as long as I can finally get what I think is a better system, so I don't care about any emotional injury or work-time loss.
  
I am not just talking about it. I am really not a good guy. I can say "I don't care" with a blank face, and I really don't care.
  
I believe that not using the kernel debugger will force people to consider the problem at a different level. I think if you don't use a debugger, you won't know how it works and how it is handled, and you will try to consider the problem from another perspective. You will want to understand things at different levels.
  
To a certain extent, it is more "source code to binary" (problem ). You don't have to check the source code (of course you can check it and any excellent debugger makes it easy ). You must view the source code at a level above the source code. That is to say, without using the kernel debugger, you will have to understand what the program is doing, not just specific (CODE) lines.
  
Frankly speaking, the debugger does not play much role in many practical problems (which is totally different from errors and so many stupid errors. I am worried about these practical problems. The rest is some details, and they will eventually be determined.
  
I can understand those opinions that are inconsistent with me. I am not your mother. If you want to, you can use the kernel debugger. I will not despise you because of your own reputation. But I will not help you use it. I sincerely hope that people do not use the kernel debugger frequently. Therefore, I will not regard it as the evaluation standard. If the existing debugger is not well understood, I will not (deliberately) degrade it. I am a selfish person, but I'm proud of it!

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.