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. StagedSAC: a case study in performance-oriented DSL development
 
conference paper

StagedSAC: a case study in performance-oriented DSL development

Ureche, Vlad  
•
Rompf, Tiark  
•
Sujeeth, Arvind
Show more
2011
PEPM '12 Proceedings of the ACM SIGPLAN 2012 workshop on Partial evaluation and program manipulation

Domain-specific languages (DSLs) can bridge the gap between high-level programming and efficient execution. However, implementing compiler tool-chains for performance oriented DSLs requires significant effort. Recent research has produced methodologies and frameworks that promise to reduce this development effort by enabling quick transition from library-only, purely embedded DSLs to optimizing compilation. In this case study we report on our experience implementing a compiler for StagedSAC. StagedSAC is a DSL for arithmetic processing with multidimensional arrays modeled after the stand-alone language SAC (Single Assignment C). The main language feature of both SAC and StagedSAC is a loop construction that enables high-level and concise implementations of array algorithms. At the same time, the functional semantics of the two languages allow for advanced compiler optimizations and parallel code generation. We describe how we were able to quickly evolve from a pure library DSL to a performance-oriented compiler with a good speedup and only minor syntax changes using the technique of Lightweight Modular Staging. We also describe the optimizations we perform to obtain fast code and how we plan to generate parallel code with minimal effort using the Delite framework.

  • Files
  • Details
  • Metrics
Type
conference paper
DOI
10.1145/2103746.2103762
Author(s)
Ureche, Vlad  
Rompf, Tiark  
Sujeeth, Arvind
Chafi, Hassan
Odersky, Martin  
Date Issued

2011

Publisher

ACM

Publisher place

New York, NY, USA

Published in
PEPM '12 Proceedings of the ACM SIGPLAN 2012 workshop on Partial evaluation and program manipulation
ISBN of the book

978-1-4503-1118-2

Start page

73

End page

82

Subjects

DSL

•

SAC

•

domain specific languages

•

optimization

•

single assignment c

•

staging

URL

URL

http://dl.acm.org/citation.cfm?id=2103746.2103762
Editorial or Peer reviewed

NON-REVIEWED

Written at

EPFL

EPFL units
LAMP1  
Available on Infoscience
March 13, 2012
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/78734
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