Paper
7 May 2017 Improving developer productivity with C++ embedded domain specific languages
Author Affiliations +
Abstract
Domain-specific languages are a useful tool for productivity allowing domain experts to program using familiar concepts and vocabulary while benefiting from performance choices made by computing experts. Embedding the domain specific language into an existing language allows easy interoperability with non-domain-specific code and use of standard compilers and build systems. In C++, this is enabled through the template and preprocessor features. C++ embedded domain specific languages (EDSLs) allow the user to write simple, safe, performant, domain specific code that has access to all the low-level functionality that C and C++ offer as well as the diverse set of libraries available in the C/C++ ecosystem. In this paper, we will discuss several tools available for building EDSLs in C++ and show examples of projects successfully leveraging EDSLs. Modern C++ has added many useful new features to the language which we have leveraged to further extend the capability of EDSLs. At EM Photonics, we have used EDSLs to allow developers to transparently benefit from using high performance computing (HPC) hardware. We will show ways EDSLs combine with existing technologies and EM Photonics high performance tools and libraries to produce clean, short, high performance code in ways that were not previously possible.
© (2017) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Stephen Kozacik, Evenie Chao, Aaron Paolini, James Bonnett, and Eric Kelmelis "Improving developer productivity with C++ embedded domain specific languages", Proc. SPIE 10206, Disruptive Technologies in Sensors and Sensor Systems, 102060R (7 May 2017); https://doi.org/10.1117/12.2264800
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
C++

Linear algebra

Image processing

Computer programming

Analytics

Computer programming languages

Software

RELATED CONTENT

Road shape recognition based on scene self-similarity
Proceedings of SPIE (February 14 2015)
Introduction to Image Algebra Ada
Proceedings of SPIE (July 01 1991)
Strategic significance of object-oriented design
Proceedings of SPIE (September 14 1993)
Supporting image algebra in the C++ language
Proceedings of SPIE (June 23 1993)

Back to Top