Write a domestic operating system?

zhaozj2021-02-16  64

If I want to write a domestic operating system, I may think about it:

Chinese Programming.

Can we do an operating system written with Chinese code? !

Yes, Chinese code. Not only can be displayed in Chinese, dealing with Chinese, but also requiring the source code of the operating system to write as much as possible.

In order to make this, it seems that the following things are can't escape: write a compiler (assembly, advanced language ...), a console that supports Chinese, and try to name variables in Chinese, functions , Document, etc.

Smart and cautious you will definitely remind me, there will be a bigger trouble: you will lose your ability to use all of the libraries, that is, we have to override all libraries. But please see what we can get:

We can reduce the threshold of people who participate in the writing of our operating systems!

I think that in China, a big threshold for programmers is a sense of English, and this is a must have a threshold. One better, but the library written in English is a book for a person who doesn't have a Level 4 level. It will not be used. Maybe you will say that you don't understand, such as MFC ,:). I guess English 4 levels of Indians should not have problems, and their high school students should have reached. But in China, it is really a problem. Anyway, I am acquired in the second grade of college. English level 4 level, not low, tell the truth.

Anyway, I just think that in China, I have not localized (try all the Chinese) write programs, you are equal to the beginning of this initial graduation, and it can participate in the future development of this program. God, think about these people, they have the opportunity to make big money, they will pay attention to me, maybe for many years, you can earn a little money:).

But although all the libraries are unfortunately, they are not so terrible as I think. After all, I want a new operating system instead of an application running on an operating system. The operating system should be relaxed in "software compatibility".

I have a Motorola's C coding specification in his hand, which requires as much as possible, because only English is the most common language. I want multinational companies like Motorola. But my ambition is not big, I just want to write a Chinese use of the operating system with a person who also says China. Everyone is in the canteen, why bother to write programs in front of the computer.

Maybe we can add some mechanisms that make a naming (variable name, function name ...) can have different representations in different locations. That is to say, although the code has a different language version in the text level, there is no difference in the binary level. This makes it easy for foreigners to join, and there are many Lei Feng in foreigners.

In short, use Chinese to write an operating system, good popularity, possibly, not terrible. Maybe we should try it.

(to be continued)

转载请注明原文地址:https://www.9cbs.com/read-16728.html

New Post(0)