Modern Operating System

Source: Internet
Author: User

I rarely wrote an article on the original blog. Today, it is a summary of my previous studies.

 

The origin of modern operating systems, I think it is from UNIX . While UNIX Is from C Language. UNIX And C Is a natural pair. CWritten UNIX Of course there will be a small amount of assembly. While UNIX Of API Export, of course, yes C . That is to say, to use UNIX First, the ideal programming language is of course C . CThere are too many books to introduce. All of these seem natural, and they have a profound foundation. C YesProgramThe language is friendly. I don't know if anyone understands it.

CLanguage friendliness lies in the fact that it is based on functions. Other languages can be easily imported.CLanguage functions. For example, C # P/invoke, C ++, Visual Basic.Even if the angular language, suchRuby, Although it cannot be imported directlyCBut can be generated through extensionRubyModule library. The language used to compile the module library is alsoC.

The operating system is still evolving. CDisadvantages, writeCodeMore or less. Systems are becoming more and more complex, and object-oriented is recognized as a solution to complexity. The operating system must be based on object-oriented component libraries. At&t Of C ++ Become a recognized object-oriented language. And left Apple Of Steve Jobs, Founded Next Of course, this company also produces an operating system named Nextstep. Around 1993 At this time, the industry began a componentized platform attempt.

Windows Introduce Com Is not a library generated by a specific computer language, but a standard. C ++ Assigned to write Com Task of the component. Naturally ComThe language of thought is Visual Basic . It can produce Com You can also consume Com Component. Com The specifications are not complex, but they are well known for their incomprehension. About Com There are quite a few books to read. Microsoft has also developed a series of tools to solve this problem, but it seems that apart from Microsoft, it is difficult for other organizations to compile Com . They are all done by hackers from Microsoft. Com.

At this time, Nextstep Launched its own componentized Platform Cocoa . Familiar people know that it is Apple's componentized platform, but it actually originated from Nextstep . Unlike Microsoft, it is based onProgramming LanguageOf: Objective-C . All of this begins naturally, because UNIXThe Platform also starts from a language. Why is there a problem? Windows Not using industry-recognized object-oriented languages C ++ Write this component platform. Com Is the component available?

I have no answer to this question. Maybe there is no answer? Here is a joke about history. AsCObject-oriented successorC ++,I was not selected to take the class for the object-oriented operating system. So that is calledObjective-C? In fact, it is also the successor of C's object-oriented model, but it is inferior,The reputation is not as good as that, so it seems to move towards the niche. However, it seems thatNextstepIt was also a niche becauseWindowsThe operating system is governing the world.

History is not. There is no such thing as a computer.

the answer is, Objective-C same as C , it is a friendly programming language. That is, other languages can use their libraries. Even if this language does not support object-oriented features, such as C, you can also use Objective-C . C ++ compiled libraries, except C ++ itself, libraries written in other languages are rarely used.

we can see c ++ language inventor, Objective-C language inventor evaluated C, but I did not find C language inventor evaluated C ++ , Objective-C . After all, in a rational world (Computer World), we still need to rely on strength to speak.

microsoft realized com , now there is something called JAVA . It is inspired by Microsoft and can reduce com complexity. As a result, . net, and has been researching and developing. I forgot that I was operating the system. Until it realizes, . net although it is fun, but it cannot be used as the API of the Operating System . This option is enabled ... joke. Time is not waiting for people, and time is indeed not waiting for people.

Apple Acquired Next . Cocoa Loaded Mac OS . Of course, in this world, W Indows Still greatly ahead. However, the leader in technology is benevolent and wise. W Indows Still used COf API Development Method, and Mac OS, An advanced object-oriented componentized platform has been assembled. Microsoft has assembled this item before, but it is abandoned by itself. The efficiency of development cannot be the same as that of the day. Mac OS It is still developing slowly. Until a large number of mobile devices appear, IOS The modified operating system suddenly ruled the world. Of course we can see that there are other people in this trend, Google Also developed Android .

Is Microsoft in a hurry ?! Microsoft, which started with an operating system, cannot find a confrontation system. . Net First, they are discarded. Com What about it? It's not a shame to scare people with the things of the last century. Fortunately, they have developed C ++/CLI . Therefore Windows 8 In this context, R & D is performed. W Indows 8 Assembly Win32 API, Because Win32The desktop system still occupies most of the shares. For the touch world, borrow Windows Phone 7 Of Metro The design style is called Winrt Of API . Of course, like before, this is not language-based, based on something similar Com . People at the bottom of the study can still find Com .

are you guys finished?

Android, WebOS, blackberry what about the story? Android used JAVA, webOS used extends cept, blackberry used Adobe air . Android left behind, discard JAVA , another platform is possible.

 

Summary:UNIXGreat. InheritanceUNIXThe flag is also great.

 

 

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.