Research and Implementation of STL Runtime Concept

Author
ZhangZhe
Advisor
DingZhiYi
School
Ningxia University
Major
Computer Software and Theory
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2014
Downloads
1
Citations
0

Request the full text

Abstract

As the development of the software technology, Users expect that software system is able to respond to the change of running environment and user needs under the running state without making the software offline.By the knowing and the understanding of the concept of the running system,I proposes a STL runtime concept. Generic programming supports for producing modules with clean separation which is a important benefit of it In particular, generic algorithms are written to work with a wide variety of types without requiring modifications to them. The Runtime concept idiom extends this support by allowing unmodified concrete types to behave in a runtime polymorphic manner. So,when the system needs to respond to environmental changes and deals with uncertainty in the environment, Generic algorithms can be called in the runtime without making the software offline,it plays an very important role in improving software design method.we implement the runtime concept idiom, in the field of the C++standard template library in this article. We supply the runtime concept idiom with an algorithm library which considers both concept and type information to maximize performance when it selects algorithm implementations. We describe an implementation of using an experimental language extension and the other implementation in ISO C++. We present and measure the performance by simulating runtime polymorphic of several STL algorithms with our implementations. The tests show the effects of different run-time vs. compile-time algorithm selection.

Table of contents

Abstract 3-4 Abstract 4-6 first chapter 6-10 1.1 Background and Significance subject 6- 7 1.2 current research 7 1.3 main contents 7-9 1.4 dissertation chapters arranged 9-10 The second chapter basic theory 10-20 2.1 generic programming 10-11 2.2 standard Template Library 11-14 2.2.1 algorithm how does it work 13 2.2.2 standard algorithms are inherently independent of the type 13-14 2.2.3 iterative algorithms and containers will bind 14 2.2.4 non- intrusive component combinations 2.3 C type erasure study 14 contradiction 14-19 2.3.1 object-oriented and generic programming 15-17 2.3.2 type erasure 17-19 2.4 Chapter Summary 19-20 The third chapter is running STL iterators concept 20-24 3.1 concept layer 20-21 3.2 model layer 21-22 3.3 packing layer 22-23 3.4 Summary 23-24 Chapter IV algorithm library 24-34 4.1 design goals 24 4.2 in standard C the realization of 24-28 4.3 extensions using open multiple methods to achieve 28-31 4.4 test 31-33 4.4.1 algorithm Demos 31-32 4.4.2 library function select 32-33 4.5 Chapter Summary 33-34 Chapter summary and Outlook 34-35 references 35-38 Thanks 38-40 Profile 40 during the master's degree published papers 40

Related dissertations

  1. Study on Parallel Programming Models
    YaoZhen ·University of Science and Technology of China ·2006 ·Doctoral dissertation
  2. The Research and Application of a New Pipe-Filter Pattern
    JiangQing ·Jiangxi Normal University ·2004 ·Master's thesis
  3. Design and Implementation of Apla to C# Automatic Program Transformation System
    ZuoZhengKang ·Jiangxi Normal University ·2004 ·Master's thesis
  4. Apla-Java Automatic Program Transformation System with Generic Programming Supported
    ShiHaiHe ·Jiangxi Normal University ·2004 ·Master's thesis
  5. The Research and Application of the Category Theory Model for Generic Programming
    QuWenJian ·Jiangxi Normal University ·2004 ·Master's thesis
  6. APLA-Delphi Automatic Program Transformation System with Generic Programming Surpported
    ZhouZuo ·Jiangxi Normal University ·2003 ·Master's thesis
  7. Multi-modality Medical Image Processing Platform and Research on Image Registration Algorithms Based on Implicit Shape Representation and Edge Information Fusion
    LiaoXiuXiu ·Zhejiang University ·2007 ·Master's thesis
  8. Generic programming and design patterns
    ChenYeWang ·Huaqiao University ·2006 ·Master's thesis
  9. Research on Key Techniques of Low-Quality Vehicle License Plate Recognition
  10. Design for Abstract Description Language of Class Hierarchy with Transformation Toward C++
  11. The Research and Implementation of a Generic-Programming-Based Parallel Structure Library on Dawning3000 Parallel Computer
    ChenSuFen ·Jiangxi Normal University ·2005 ·Master's thesis
  12. The Research and Application of Several Algorithm Design Patterns
    ChenYanQiong ·Jiangxi Normal University ·2008 ·Master's thesis
  13. Research and Software Development on the Basis of the Graph Theory in Road Plane Design