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
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
- Study on Parallel Programming Models
- The Research and Application of a New Pipe-Filter Pattern
- Design and Implementation of Apla to C# Automatic Program Transformation System
- Apla-Java Automatic Program Transformation System with Generic Programming Supported
- The Research and Application of the Category Theory Model for Generic Programming
- APLA-Delphi Automatic Program Transformation System with Generic Programming Surpported
- Multi-modality Medical Image Processing Platform and Research on Image Registration Algorithms Based on Implicit Shape Representation and Edge Information Fusion
- Generic programming and design patterns
- Research on Key Techniques of Low-Quality Vehicle License Plate Recognition
- Design for Abstract Description Language of Class Hierarchy with Transformation Toward C++
- The Research and Implementation of a Generic-Programming-Based Parallel Structure Library on Dawning3000 Parallel Computer
- The Research and Application of Several Algorithm Design Patterns
- Research and Software Development on the Basis of the Graph Theory in Road Plane Design