Font Size: a A A

Research On The Object Message Mechanism Of Object-oriented Programming Language For TriBA

Posted on:2012-08-20Degree:MasterType:Thesis
Country:ChinaCandidate:Z H GongFull Text:PDF
GTID:2218330362953605Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
At present, object-oriented programming language (OOPL) has become the chief development language,The fully independent object forms the application program.On the single-core processor,the object can only realize the crossovers by the way of depending on the time sharing multiplex technology concerning the same treatment unit.However,the multi-core processor is a kind of chip that possesses multi-cores.Physically it adopts Multi-Core time sharing multiplex technology to achieve the parallel running of the object,in order to advance the operating efficiency of object-oriented program. Triba (Triple-based Architecture) is a new multi-core processor. It can directly support the parallel action of object-oriented grammar and object, so that it can advance the operating efficiency of object-oriented program. However, the ANSI object-oriented language at present has always employed the functions to imitate communications between modules without directly supporting message transmission mechanism. Since the multi-core synchronization processing needs communication, it is a profitable method to realize the parallelism through object-oriented programming model.Combining the object-oriented programming model at present with Triba (Triple-based Architecture), this thesis tries to study the message mechanism of the object-oriented mode based on Triba, this thesis will be also used in the realization of the object message mechanism to make the object do parallel processing in multi-core processor. By making the use of object message mechanism and programming in the way of pressing close to the multi-core structure of the target machine, the ability of the machine will be fully excavated when the structure of the program is close to that of the machine. For ont thing,the TriBA processor is still in its research and development stage,thus even there is the brand new designed object-oriented language,it can not operate on the TriBA processor. For the other,up to days,object-oriented language has always employed the functions to imitate communications between modules without directly supporting message transmission mechanism.So proposing the construction of object message mechanism based on generalized programming language by applying object-oriented mechanism such as encapsulation , polymorphism etc.under the grammer framework of object-oriented general programming language.Users can apply this mechanism to object-oriented software development.The smallest organization structur unit of this software is object which can be directly operated on core of TriBA in the future(the hardware in TriBA supports object message).At present,there are two ways to operator object-oriented program into process-oriented assembly languages and employ function call(serial mechanism) to imitate message mechanism.The other way is to offer a object-oriented virtual machine(using software to imitate the object-oriented machine,such as Java virtual machine),and then run object-oriented program based on it,so that it can reduce the operating efficiency of object-oriented program.. By using of the object-oriented programming languages ANSI C++,ANSI Java,ANSI C#,ANSI Python,ANSI Delphi, this thesis attempts to realize message mechanism of the object model individually to check the availability of this message mechanism.The object message platform in this study employs an event-driven programming style and can be used to conduct application sorfware development, so it neetd to check the efficiency of the message mechanism. Based on the message mechanism, this thesis studies the communication among the object modules through MFC, so that the efficiency of the message mechanism can be checked. Considering that the message has different communicating mechanism, chiefly block message and unblock message, this thesis also checks the availability and efficiency of the unblock message. The experiment result manifests that the object-oriented programming language supports the message mechanism, which approves that this message mechanism is available. Moreover, this message mechanism passed the check of the availability of the framework, which approves that this message mechanism is available.After finishing the present project,it is expected to separate the design research on the botton of TriBA from the adaptive research on TriBA based software development.
Keywords/Search Tags:object-oriented, parallelization, message mechanism, triplet based architecture (TriBA), polymorphism
PDF Full Text Request
Related items