loading
Papers

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Andreas P. Priesnitz and Sibylle Schupp

Affiliation: Chalmers Technical University, Sweden

ISBN: 978-989-8111-05-0

Keyword(s): Static Reflection, Serialization, Container, Generative Programming, High Performance.

Related Ontology Subjects/Areas/Topics: Algorithms and Data Structures ; Object-Oriented Programming ; Programming Languages ; Software Engineering

Abstract: Reflection allows defining generic operations in terms of the constituents of objects. These definitions incur overhead if reflection takes place at run time, which is the common case in popular languages. If performance matters, some compile-time means of reflection is desired to obviate that penalty. Furthermore, the information provided by static reflection can be utilised for class generation, e.g., to optimize internal representation. We demonstrate how to provide static reflection on class field properties by means of generic components in an OO language with static meta-programming facilities. Surprisingly, a major part of the solution is not specific to the particular task of providing reflection. We define the internal representation of classes by a reworked implementation of a generic container that models the concept of a statically indexed family. The proposed features of this implementation are also beneficial to its use as a common container.

PDF ImageFull Text

Download
CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 34.237.51.35

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
P. Priesnitz A.; Schupp S. and (2007). A PATTERN FOR STATIC REFLECTION ON FIELDS - Sharing Internal Representations in Indexed Family Containers.In Proceedings of the Second International Conference on Software and Data Technologies - Volume 3: ICSOFT, ISBN 978-989-8111-05-0, pages 30-37. DOI: 10.5220/0001336300300037

@conference{icsoft07,
author={Andreas {P. Priesnitz} and Sibylle Schupp},
title={A PATTERN FOR STATIC REFLECTION ON FIELDS - Sharing Internal Representations in Indexed Family Containers},
booktitle={Proceedings of the Second International Conference on Software and Data Technologies - Volume 3: ICSOFT,},
year={2007},
pages={30-37},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001336300300037},
isbn={978-989-8111-05-0},
}

TY - CONF

JO - Proceedings of the Second International Conference on Software and Data Technologies - Volume 3: ICSOFT,
TI - A PATTERN FOR STATIC REFLECTION ON FIELDS - Sharing Internal Representations in Indexed Family Containers
SN - 978-989-8111-05-0
AU - P. Priesnitz, A.
AU - Schupp, S.
PY - 2007
SP - 30
EP - 37
DO - 10.5220/0001336300300037

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.