Precompilation: an alternative approach to provide native generic programming support in C++

In C++, Generative Programming (GP) techniques are being used to generate highly customized and optimized products automatically manufactured at compile-time; to provide these functionalities increasing compiling power is required. This work presents an improved compilation model for C++ by adding...

Descripción completa

Guardado en:
Detalles Bibliográficos
Autores principales: Gutson, Daniel F., Alarcón, Román
Formato: Objeto de conferencia
Lenguaje:Inglés
Publicado: 2005
Materias:
Acceso en línea:http://sedici.unlp.edu.ar/handle/10915/23097
Aporte de:
id I19-R120-10915-23097
record_format dspace
institution Universidad Nacional de La Plata
institution_str I-19
repository_str R-120
collection SEDICI (UNLP)
language Inglés
topic Ciencias Informáticas
C++ templates
code generation
metacompiler
generative programming
template metaprogramming
spellingShingle Ciencias Informáticas
C++ templates
code generation
metacompiler
generative programming
template metaprogramming
Gutson, Daniel F.
Alarcón, Román
Precompilation: an alternative approach to provide native generic programming support in C++
topic_facet Ciencias Informáticas
C++ templates
code generation
metacompiler
generative programming
template metaprogramming
description In C++, Generative Programming (GP) techniques are being used to generate highly customized and optimized products automatically manufactured at compile-time; to provide these functionalities increasing compiling power is required. This work presents an improved compilation model for C++ by adding the ‘precompilation’ phase, leading beyond the Template Meta Programming technique to produce constants and conditional code. Procedural, object-oriented and all the remaining language features become available to produce constants, instances, and compiletime checks, opening, at the same time, a new way for metadata types treatment. In addition to that, when compiling for embedded platforms, some calculi may be moved from resource-critical run time to compile time, taking advantage of the processing power of the host platform. A tool named PRECOMP C++ is also presented in this work as a precompilationenabled C++ extension that supports GP in standard C++ execution during compile time, providing the ability to run metaprograms that operate with more complex data types and features than those supported in Template Meta Programming, such as floating point, pointers arithmetic, inclusion polymorphism, and dynamic memory
format Objeto de conferencia
Objeto de conferencia
author Gutson, Daniel F.
Alarcón, Román
author_facet Gutson, Daniel F.
Alarcón, Román
author_sort Gutson, Daniel F.
title Precompilation: an alternative approach to provide native generic programming support in C++
title_short Precompilation: an alternative approach to provide native generic programming support in C++
title_full Precompilation: an alternative approach to provide native generic programming support in C++
title_fullStr Precompilation: an alternative approach to provide native generic programming support in C++
title_full_unstemmed Precompilation: an alternative approach to provide native generic programming support in C++
title_sort precompilation: an alternative approach to provide native generic programming support in c++
publishDate 2005
url http://sedici.unlp.edu.ar/handle/10915/23097
work_keys_str_mv AT gutsondanielf precompilationanalternativeapproachtoprovidenativegenericprogrammingsupportinc
AT alarconroman precompilationanalternativeapproachtoprovidenativegenericprogrammingsupportinc
bdutipo_str Repositorios
_version_ 1764820468136673281