Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Lightweight Modular Staging: A Pragmatic Approach to Runtime Code Generation and Compiled DSLs
 
conference paper

Lightweight Modular Staging: A Pragmatic Approach to Runtime Code Generation and Compiled DSLs

Rompf, Tiark  
•
Odersky, Martin  
2010
Acm Sigplan Notices
GPCE

Software engineering demands generality and abstraction, performance demands specialization and concretization. Generative programming can provide both, but the effort required to develop high-quality program generators likely offsets their benefits, even if a multi-stage programming language is used. We present lightweight modular staging, a library-based multi-stage programming approach that breaks with the tradition of syntactic quasi-quotation and instead uses only types to distinguish between binding times. Through extensive use of component technology, lightweight modular staging makes an optimizing compiler framework available at the library level, allowing programmers to tightly integrate domain-specific abstractions and optimizations into the generation process. We argue that lightweight modular staging enables a form of language virtualization, i.e. allows to go from a pure-library embedded language to one that is practically equivalent to a stand-alone implementation with only modest effort.

  • Files
  • Details
  • Metrics
Type
conference paper
DOI
10.1145/1942788.1868314
Web of Science ID

WOS:000287306700015

Author(s)
Rompf, Tiark  
Odersky, Martin  
Date Issued

2010

Published in
Acm Sigplan Notices
Volume

46

Start page

127

End page

136

Subjects

Code Generation

•

Multi-stage programming

•

Domain-specific languages

•

Language Virtualization

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LAMP1  
Event nameEvent placeEvent date
GPCE

Eindhoven, The Netherlands

October 10-13, 2010

Available on Infoscience
August 11, 2010
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/52133
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés