Is that what I said?

Source: Internet
Author: User
Tags float double
Seeing what I said two years ago, my understanding on some points has changed.

In fact, they all use Reusable technologies. The most primitive is assembly.
The CPU-dependent instruction set. Later, C was used to accelerate System Software Development. In assembly and C, subprograms (functions and processes) can be used. C is a process-oriented language and structured
The sequential condition loop control structure. Later, because C's process orientation is not in line with human thinking, that is, the relationship with actual things is not closely related, the object-oriented method is used,
C ++ extends C, which can be simply understood as a better C with Class C, because C ++ supports
Inheritance, polymorphism, encapsulation, derivation, and multi-inheritance mechanisms.
Reuse and describe the relationship between things. For example, a child is derived from a father or mother,
The child inherits the characteristics of his or her parents.

Both assembly and C ++ have basic built-in data types.
Int float double char often has to be re-created because of different types of algorithms with the same logic. The generic template mechanism is designed to solve this problem.
As a result, the stl c ++ standard container Algorithm Library boost came into being.

However, this is based on source code reuse,
Com is a set of standards, and its definition is not provided for implementation. Similar to J2EE, it is also a standard.
ActiveX and CORBA are regarded as COM.
After the implementation of COM, binary code should be generated to support reuse. The core interface is defined by pure virtual mechanism to ensure its versatility. The specific implementation is only because of the platform.
It is like the design of separation between the UI and the underlying layer. In the Win32 platform, ATL uses IDL to describe
Interface, which is implemented through the C ++ class.

If com does not meet the requirements of a Single-host environment, DCOM (Distributed Component Object Model) appears)
DCOM has many problems in terms of security and ease of use, and debugging.
And client requirements are relatively close, so the new generation of. NET will pass
XML Web Service is used to implement loose distributed computing across the Internet. So as to establish a Distributed Component Library and Software Service System on the network
The software is changed from a boxed package to a service subscribed by the user, and a new profit model is developed.

The purpose of COM/ActiveX/ATL/dcom com + is to reuse
Let the construction software be like building blocks, like integrated circuits, by defining Standardization
To achieve software reuse. To some extent, the interface implements a similar
The principle of hardware pci agp ide PCIe interface. But it is not standardized yet.
And the wide application of its principles and implementation due to a certain degree of profound constraints
COM technology, but the new. NET platform and Java concepts
To some extent, the use of COM is greatly simplified.

The following is a brief introduction.
Com ActiveX.
Com is a specification
ActiveX is a trademark.
DCOM is a Distributed COM
ATL is used to simplify the manual Implementation of the com template library.
COM + integrates mts com dcom. However, based on COM, some operations are completely
To the system.

If you still don't know what to learn
Understand the usage of COM and learn how to use basic com. For example, DirectX is
A set of powerful com-based programming interfaces suitable for games.

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.