Decrypts the implementation of an operating system.

Source: Internet
Author: User
Tags manual writing

Decrypts the implementation of an operating system.




5
Month

18
See 《

Orange's
: The implementation of an operating system is somewhat excited. Think that the previous version of "writing an operating system by yourself" is so popular, this one must not be vague. Throughout the publishing process, I can see that Yu Yuan has made great efforts and has a deep understanding in his own typographical process, yu Yuan's lecture also gave the employees of Bo Wen's point of view a lot of experience in the typographical process.

 

Tens of thousands of friends have read "write your own operating system ".

2
Version 《

Orange's
: The implementation of an operating system is certainly a lot of friends want to ask, what is the difference between the two books? Yu Yuan, the author of this book, was interviewed in a simple way.


*
Question :《

Orange's
: What are the major differences between the implementation of an operating system and the manual writing of an operating system?

*

Yu Yuan: as the second version of "self-writing an operating system" (hereinafter referred to as "self ,《

Orange's
: The implementation of an operating system (hereinafter referred to as the "new version") has the following major changes:

 


1.
Change the name of the example operating system

Orange's


2.
Change the title 《

Orange's
: Implementation of an operating system


3.
Added related

IPC
,

FS
,

Mm
And other content


4.
Change the default development platform

GNU/Linux
, While balancing

Windows


5.
The typographical tool has been changed, and technical means have been used to increase the readability of the book, such as the use of code row numbers.


6.
Create a special website to Serve Readers


7.
Establish a special discussion area for readers to communicate

Readers who have read "write the operating system by yourself" must know that the default value is

Windows
As a development platform, you can use virtual machines to compile and run your own

OS
This has changed in the new version (for example

4
The reason for the change is detailed in chapter 2 of the book. Although the development platform is the second place, the default platform in the book will inevitably affect the details.

Windows

Development on (possible reasons may be:

Linux
Unfamiliar, need to develop the operating system while logging on to some online banking, etc.), it is possible to read a little additional processing. Of course, a small amount of additional processing is required, and the second chapter also provides a special text to show you how to build a work environment on the two platforms. In addition, if you do not mind spending money, you can also purchase the "write your own Operating System" and the new version for mutual reference.

 

*
Question :《

Orange's
: Does the implementation of an operating system increase compared with the manual writing of an operating system? How much internal capacity is added?


Yu Yuan: the content of the new version is increased, and the new text accounts for about 1/3 of the total book ,《

Orange's
: The newly added code in the implementation of an operating system is several times the code in "write an operating system by yourself. The new content can only be obtained from the new version. At present, there is no plan to separate the new content into a book, so even if you only want to read the content after Chapter 8, you need to purchase the entire 《

Orange's
: Implementation of an operating system. Readers who have purchased "write an operating system by yourself" may feel a bit wasteful, but this is not the case, because the content of "write the operating system by yourself" has been re-formatted, revised, and edited (for example, the code format has been rearranged, which makes it easier to read the content in comparison with the files on the CD, and all of the vector images are used

PGF/tikz

Re-drawing, etc.) the new version's senses are already quite different from those of the readers.

 
*
Q: Have you ever thought about publishing a second version when I sell "write an operating system by yourself?

*

Yu Yuan: Frankly speaking, when I was writing "self", I did not think that I would have a second version today. The reason is that I hope this book is used to fill the gaps, rather than repeating what others have done well. The so-called fill in the blank, specifically, is to allow operating system enthusiasts like me to read other popular open-source operating system code with confidence after reading this book, the ability to write the operating system from scratch, and the first version of this task has been completed.

 
*
Q: Why did I write the second edition?

*

Yu Yuan: There are several reasons. First, although the first version of inter-process communication, file systems, and other content that has not been involved are explained in many books, I still feel that there is a common problem of unknown language when I read it. The author may be very clear about the original committee, however, it is too simple to be clear to the reader. Second, I want to draw a circle myself. Although the first version of the book has completed its mission, after all, at the end of the book, the reader does not see a real operating system. It has no file system, no memory management, and cannot do anything. In the second version, you will see that you can use the cross-Compilation Method for our experimental

OS
Write the application. That is to say, it already has the basic functions of the operating system. Although it is still very simple, the first circle is round. Third, there are still too few practical operating system books, so that if you want to see how others do it, apart from reading a very small number of books represented by "Operating System: design and implementation, that is, it is written into the source code, and the results are sometimes quite frustrating. I am also discouraged, so in the second version, I still try to make a little more detailed and share my experience. In addition, I chose the most streamlined design that I can think of, so that the readers do not fall into too many details and cannot see the whole picture. I think this is the potential value of this book-simplified and easy-to-understand design, as well as text as detailed as possible.

 
*
Q: Why not use this book?

Word
Typographical?

*

Yu Yuan: I used the new layout.

Latex
Completed by yourself. I spent some time in formatting, because I hope that the reader will first buy a book that is easy to read and pleasing to the eye, and the second is the method for compiling the operating system. In addition, the Code listed in the book is automatically embedded by my own program

Latex
Source file, so as to strictly ensure the consistency between the certificate and the CD, the reader can easily find the correct location of the Code in the CD according to the file name and line number.

 

 

*
Q: What are the differences between the second edition?

Orange's
This name is special. What does it mean?

*

Yu Yuan: There are some minor changes in the new version. First, the name of the operating system has changed, because although we are trying

OS
I learned a lot from my predecessors, but the design of each part (such as file system and memory management) often has its own uniqueness.

Tinix
(Meaning

Tryminix
) Changed to a new name.

Orange's
(This name comes from my wife) to indicate their differences. In addition, the Code style in the book has been adjusted in some places.

In the new version, the original narrative style is implemented as much as possible, and in the form of expression, the new version uses more thoughts. I believe that readers can find these features in it: Focus on hands-on details, the story behind the code is explored, with both results and processes, and both content and form. With the website and discussion area dedicated to this book, I believe that readers can read and learn more easily.

For more details, log on

Http://osfromscratch.org/
.

 

 

 


 


Orange's
: Implementation of an operating system

Published by: Electronic Industry Publishing House



Author: Yu Yuan

ISBN

:
September 978-7-121-08442-3

Official website of this book:

Http://osfromscratch.org/

Network purchase address:
Http://www.china-pub.com/195571

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.