{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T17:12:15Z","timestamp":1791479535895,"version":"4.3.4"},"reference-count":24,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Sci. Comput."],"published-print":{"date-parts":[[2012,1]]},"abstract":"<jats:p>In the last decade, expression templates (ETs) have gained a reputation as an efficient performance optimization tool for C++ codes. This reputation builds on several ET-based linear algebra frameworks focused on combining both elegant and high-performance C++ code. However, on closer examination the assumption that ETs are a performance optimization technique cannot be maintained. In this paper we compare the performance of several generations of ET-based frameworks. We analyze different ET methodologies and explain the inability of some ET implementations to deliver high performance for dense and sparse linear algebra operations. Additionally, we introduce the notion of \u201csmart\u201d ETs, which truly allow for a combination of high performance code with the elegance and maintainability of a domain-specific language.<\/jats:p>","DOI":"10.1137\/110830125","type":"journal-article","created":{"date-parts":[[2012,3,8]],"date-time":"2012-03-08T18:22:05Z","timestamp":1331230925000},"page":"C42-C69","source":"Crossref","is-referenced-by-count":54,"title":["Expression Templates Revisited: A Performance Analysis of Current Methodologies"],"prefix":"10.1137","volume":"34","author":[{"given":"Klaus","family":"Iglberger","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Georg","family":"Hager","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jan","family":"Treibig","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ulrich","family":"R\u00fcde","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2012,3,8]]},"reference":[{"key":"R1","unstructured":"D. Abrahams and A. Gurtovoy,\n                      C++ Template Metaprogramming\n                      , C++ In-Depth Series, Addison-Wesley, Reading, MA, 2005."},{"key":"R2","doi-asserted-by":"crossref","unstructured":"R. Barrett, M. Berry, T. Chan, J. Demmel, J. Donato, J. Dongarra, V. Ei-jkhout, R. Pozo, C. Romine, and H. van der Vorst,\n                      Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods\n                      , SIAM, Philadelphia, 1993.","DOI":"10.1137\/1.9781611971538"},{"key":"R3","unstructured":"F. Bassetti, K. Davis, and D. Quinlan,\n                      C++ expression templates performance issues in scientific computing\n                      , in Proceedings of the Parallel Processing Symposium '98, 1998."},{"key":"R4","unstructured":"Blitz++ Library\n                      , http:\/\/www.oonumerics.org\/blitz\/."},{"key":"R5","unstructured":"Boost Lambda Library\n                      , http:\/\/www.boost.org\/doc\/libs\/1_45_0\/doc\/html\/lambda.html."},{"key":"R6","unstructured":"Boost uBLAS Library\n                      , http:\/\/www.boost.org\/doc\/libs\/1_45_0\/libs\/numeric\/ublas\/doc\/index.htm."},{"key":"R7","unstructured":"Boost C++ Framework\n                      , http:\/\/www.boost.org."},{"key":"R8","unstructured":"G. Guennebaud, B. Jacob, et al.\n                      Eigen v3\n                      , http:\/\/eigen.tuxfamily.org (2010)."},{"key":"R9","doi-asserted-by":"crossref","unstructured":"G. Hager and G. Wellein,\n                      Introduction to High Performance Computing for Scientists and Engineers\n                      , Chapman & Hall\/CRC Comput. Sci. Ser., CRC Press, Boca Raton, FL, 2010.","DOI":"10.1201\/EBK1439811924"},{"key":"R10","unstructured":"J. H\u00e4rdtlein,\n                      Moderne Expression Templates Programmierung - Weiterentwickelte Techniken und deren Einsatz zur L\u00f6sung partieller Differentialgleichungen\n                      , Ph.D. thesis, University of Erlangen-Nuremberg, 2007."},{"key":"R11","unstructured":"H. Sutter,\n                      More Exceptional C++\n                      , C++ In-Depth Series, Addison-Wesley, Reading, MA, 2007."},{"key":"R12","unstructured":"H. Sutter,\n                      Exceptional C++\n                      , C++ In-Depth Series, Addison-Wesley, Reading, MA, 2008."},{"key":"R13","unstructured":"K. Iglberger,\n                      Software Design of a Massively Parallel Rigid Body Framework\n                      , Ph.D. thesis, 2010."},{"key":"R14","unstructured":"Intel Math Kernel Library\n                      , http:\/\/www.intel.com\/software\/products\/mkl."},{"key":"R15","first-page":"24","volume":"7","author":"Coplien J.","year":"1995","journal-title":"C++ Report","ISSN":"https:\/\/id.crossref.org\/issn\/1040-6042","issn-type":"print"},{"key":"R16","doi-asserted-by":"publisher","DOI":"10.1007\/s00791-009-0128-2"},{"key":"R17","first-page":"70","volume":"7","author":"Barton J. J.","year":"1995","journal-title":"C++ Report","ISSN":"https:\/\/id.crossref.org\/issn\/1040-6042","issn-type":"print"},{"key":"R18","unstructured":"J. D. McCalpin,\n                      STREAM: Sustainable Memory Bandwidth in High Performance Computers\n                      , Technical report, University of Virginia, Charlottesville, VA, 2007."},{"key":"R19","unstructured":"B. Meyer,\n                      Object-oriented Software Construction\n                      , Prentice-Hall, Englewood Cliff, NJ, 1997."},{"key":"R20","unstructured":"MTL4 Library\n                      , http:\/\/www.simunova.com\/de\/mtl4."},{"key":"R21","doi-asserted-by":"crossref","unstructured":"J. Treibig, G. Hager, and G. Wellein,\n                      LIKWID: A lightweight performance-oriented tool suite for x$86$ multicore environments\n                      , in Proceedings of the First International Workshop on Parallel Software Tools and Tool Infrastructures, 2010.","DOI":"10.1109\/ICPPW.2010.38"},{"key":"R22","first-page":"26","volume":"7","author":"Veldhuizen T.","year":"1995","journal-title":"C++ Report","ISSN":"https:\/\/id.crossref.org\/issn\/1040-6042","issn-type":"print"},{"key":"R23","unstructured":"T. Veldhuizen,\n                      Expression Templates\n                      , in C++ Gems, SIGS Publications, New York, 1996, pp. 475\u2013487."},{"key":"R24","unstructured":"D. Vandevoorde and N. M. Josuttis,\n                      C++ Templates. The Complete Guide\n                      , Addison-Wesley, Reading, MA, 2003."}],"container-title":["SIAM Journal on Scientific Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/110830125","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T16:52:27Z","timestamp":1787331147000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/110830125"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2012,1]]},"references-count":24,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2012,1]]}},"alternative-id":["10.1137\/110830125"],"URL":"https:\/\/doi.org\/10.1137\/110830125","relation":{},"ISSN":["1064-8275","1095-7197"],"issn-type":[{"value":"1064-8275","type":"print"},{"value":"1095-7197","type":"electronic"}],"subject":[],"published":{"date-parts":[[2012,1]]}}}