{"title":"Save the Earth, Program in C++!","authors":"Z. Porkoláb","doi":"10.1109/Informatics57926.2022.10083490","DOIUrl":null,"url":null,"abstract":"Green computing - paying attention to energy consumption of programs - getting more and more important in software construction. When dealing with high performance systems cost factors of energy consumption and cooling are important. When programming small, or embedded devices the battery capacity may be the restriction. Earlier research shows that the C and C++ programming languages are by far the best choices when we decide based on the run time performance / energy consumption ratio. In this presentation we show why C++ acts so well in this arena. We learn language techniques like the move semantics, RAII (resource acquisition is initialization) technique, effective concurrent programming as well as various compiler optimizations to understand how we can maximize performance while minimizing energy consumption of C++ programs.","PeriodicalId":101488,"journal":{"name":"2022 IEEE 16th International Scientific Conference on Informatics (Informatics)","volume":"69 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 16th International Scientific Conference on Informatics (Informatics)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/Informatics57926.2022.10083490","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Green computing - paying attention to energy consumption of programs - getting more and more important in software construction. When dealing with high performance systems cost factors of energy consumption and cooling are important. When programming small, or embedded devices the battery capacity may be the restriction. Earlier research shows that the C and C++ programming languages are by far the best choices when we decide based on the run time performance / energy consumption ratio. In this presentation we show why C++ acts so well in this arena. We learn language techniques like the move semantics, RAII (resource acquisition is initialization) technique, effective concurrent programming as well as various compiler optimizations to understand how we can maximize performance while minimizing energy consumption of C++ programs.