000149131 001__ 149131
000149131 005__ 20190316234814.0
000149131 037__ $$aREP_WORK
000149131 245__ $$aLightweight Modular Staging: A Pragmatic Approach to Runtime Code Generation and Compiled DSLs
000149131 269__ $$a2010
000149131 260__ $$c2010
000149131 300__ $$a10
000149131 336__ $$aReports
000149131 520__ $$aSoftware 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.
000149131 6531_ $$acode generation
000149131 6531_ $$amulti-stage programming
000149131 6531_ $$adomain-specific languages
000149131 6531_ $$alanguage virtualization
000149131 700__ $$0243345$$aRompf, Tiark$$g185682
000149131 700__ $$0241835$$aOdersky, Martin$$g126003
000149131 8564_ $$s345069$$uhttps://infoscience.epfl.ch/record/149131/files/paper.pdf$$yPreprint$$zn/a
000149131 909C0 $$0252187$$pLAMP$$xU10409
000149131 909CO $$ooai:infoscience.tind.io:149131$$pIC$$preport$$qGLOBAL_SET
000149131 917Z8 $$x185682
000149131 917Z8 $$x185682
000149131 937__ $$aEPFL-REPORT-149131
000149131 973__ $$aEPFL$$sPUBLISHED
000149131 980__ $$aREPORT