Computer World C/asm (OS), Lifetime II (API), mfc/com--packaging technology programmers will lose a lot in the future, because they do not understand the nature, once the packaging is obsolete will be eliminated

Source: Internet
Author: User

Daosh One, life two, two born Vientiane. Oo's idea is abstract, Vientiane, and complex as a simple. 99% of programmers use OO, or the so-called Class library is designed to be useful, without having to know the internal implementation can directly achieve the desired results. A progress in productivity, A pipeline half-part production process. The programmer is only the last worker to assemble the screw on the assembly line (strictly speaking, the yard farm). C + + is a powerful tool for abstract Vientiane. With Windows, for example, the key step from scratch (the so-called bottom), the production is C or assembly. The Windows source code is mostly written by C/asm, which realizes the abstraction of the hardware and unifies the abstract interface (the intermediary has the driver of the vendors), and then from the lifetime of two ( Kernel functions lead to the win API, and then the simplest packaging of C, the isolation of the bottom, again unified interface, so that the bottom of the changes will not bring the impact of the upper interface. Two Sheng Vientiane, typical of Com,activex,mfc,atl ... This layer is mostly C + +, because of the need for C + + oo ability to wrap, from the language level to block the win API, most programmers this layer level is very busy, because this layer m$ implemented a variety of packaging, lose that one for them is not a problem, But in the N years to learn a packaging technology programmers, such as the loss of the larger, such as MFC, such as ActiveX. Later m$ had a big package for the win API, for which they purposely implemented a set of dynamic languages. Net, and he managed to put win The APIs are all hidden and they come in a thorough oo wrapper, making the user feel completely out of their existence, because the package is so big and so deep that they become the fourth-tier user. The advantage of constant packaging is constant isolation, The great pioneers can add layers to solve all the problems in the computer. So Windows from 1.0 to WINDOWS8 play a sharp refinement. WINRT is the level 2.5. So you put C + + OO features to create the world is a kind of C + + do not understand the performance, The essence of OO is abstraction, so he is the object of the abstract world. The creation of the epoch-making world requires the primitive language. Feel tricky, not much of the egg. One go, didn't pay attention to the typesetting, thank the person who can read this post.

------------------------------------------------------------------------------------------

So look at your due specific why, if your project is built from scratch, prefer C or assembler. Built on more than two layers. For example, Windows antivirus software (in view of the NT kernel and RING3), can use C + +, two or more three layers above, such as games, native programs, A variety of engines and libraries, etc. are characterized by the need for higher efficiency of the operation, the preferred C + +, more than three layers, this range is wide, the choice of many, such as MFC,QT,VCL, and so on, many languages to choose from. Work on the fourth floor, such as B/s application. NET applications, Java applications, Js,html,lua,python, etc. all belong to this layer, when the choice of face is based on the specific business logic and even the leaders and customers. The fifth layer above, script-driven things, no choice,

------------------------------------------------------------------------------------------

Http://www.oschina.net/question/188977_58777?sort=default&p=3#answers

Computer World C/asm (OS), Lifetime II (API), mfc/com--packaging technology programmers will lose a lot in the future, because they do not understand the nature, once the packaging is obsolete will be eliminated

Related Article

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.