{"title":"拯救地球,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":"{\"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}","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

摘要

关注程序能耗的绿色计算在软件建设中越来越受到重视。在处理高性能系统时,能源消耗和冷却的成本因素很重要。当编程小型或嵌入式设备时,电池容量可能会受到限制。早期的研究表明,当我们根据运行时性能/能耗比做出决定时,C和c++编程语言是迄今为止最好的选择。在这个演示中,我们将展示为什么c++在这个领域表现得如此出色。我们学习诸如move语义、RAII(资源获取即初始化)技术、有效的并发编程以及各种编译器优化等语言技术,以了解如何在最大化性能的同时最小化c++程序的能耗。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Save the Earth, Program in C++!
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Software Engineers' Questions and Answers on Stack Exchange Collision detection and response approaches for computer muscle modelling Supervised learning data preprocessing for short-term traffic flow prediction A 1D CNN-based model for IoT anomaly detection using INT data Image steganography with using QR code
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1