Skip to Content
責任あるソフトウェアエンジニアリング ―現実社会におけるGoogleのケーススタディとともに
book

責任あるソフトウェアエンジニアリング ―現実社会におけるGoogleのケーススタディとともに

by Daniel J. Barrett, 松沢 敏志, 藪崎 仁史, 井出 貴也
March 2026
Intermediate
232 pages
2h 59m
Japanese
O'Reilly Japan, Inc.
Content preview from 責任あるソフトウェアエンジニアリング ―現実社会におけるGoogleのケーススタディとともに

6章コードのカーボンフットプリントの測定と削減

Googleのとある人物がかつて私に「インターネットは建物である」と言いました。インターネットを構成し、そのゼタバイトものデータを保管する巨大なデータセンターを稼働および冷却するには、電気、水、その他の身近な資源が必要です†1。これらの資源は私たちの地球にとって環境負荷を伴います。友人へのメッセージ送信、ウェブ検索、お気に入り音楽のストリーミング再生、YouTubeの動画視聴、あるいは単にブラウザを一晩中開いたままにするなど、オンライン上で行うすべてのことは、最終的に地球の気候を変化させる二酸化炭素などの温室効果ガスの排出につながります。ゲームで宇宙人を撃退することや、オンラインショッピングで商品検索することに夢中になっていると、このことを忘れがちです。

同様に、もしあなたがソフトウェアエンジニアであれば、あなたが書くコードの1つひとつは、カーボンフットプリントと呼ばれる炭素排出量に影響を与えます。1台のデスクトップコンピューター上で実行される小さなスクリプトであれば、そのカーボンフットプリントは非常に小さいかもしれません。一方、石炭を燃やして得た電力で稼働するデータセンター内の何百万ものCPU上で実行されるコードであれば、そのカーボンフットプリントはより大きなものになるかもしれません。もしあなたのコードがスマートフォンアプリであれば、そのカーボンフットプリントには、アプリケーションを実行するスマートフォンを毎日充電するための電力も含まれます。つまり、ソフトウェア設計に関するあなたの意思決定は、温暖化する世界での二酸化炭素排出に関する意思決定でもあるのです。この章では、コードのエネルギー消費量やカーボンフットプリントを理解し、それらを削減する方法を紹介します。コードのパフォーマンスを調整して実行速度を上げ、リソース消費を抑える作業を楽しんでいるなら、カーボンの調整もそれと非常に似ていると感じるでしょう。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

Chris Zimmerman, 久富木 隆一
高リスク分野のための機械学習 ―責任あるAI構築のための実践アプローチ

高リスク分野のための機械学習 ―責任あるAI構築のための実践アプローチ

Patrick Hall, James Curtis, Parul Pandey, 高江洲 勲, 伊東 道明, 園田 道夫, 北條 孝佳, 石川 太一
Linuxカーネルプログラミング 第2版

Linuxカーネルプログラミング 第2版

Kaiwan N. Billimoria, 武内 覚, 大岩 尚宏

Publisher Resources

ISBN: 9784814401581Publisher Website