Energy Efficient Programming (openHPI)

Energy Efficient Programming (openHPI)

Efficiency in computer science often refers to the runtime or memory usage, that a certain algorithm needs to produce an output. However, efficiency can also describe the amount of energy, that is consumed by the hardware during the runtime of an algorithm. This course explains the relevant computer architecture components, as well as different coding techniques, that allow computer scientists to design and program energy efficient algorithms.

Participants will learn how intrinsic functions work and how they can be applied to an algorithm to reduce its energy consumption. In addition, the course presents a hands-on approach to measuring energy consumption of programs using the Intel VTune Profiler tool. In contrast to the existing clean-IT courses on openHPI, this course provides a deeper dive into specific, energy efficient, architecture coding techniques.
In response to the growing energy consumption of software programs and digital technologies, energy efficiency is on the rise as a key metric for software development. However, computer scientists and developers often lack concrete, applicable tools, that help reduce an algorithm's energy consumption.
This course is aimed at students, researchers, or developers that work or study in computer science or a related field and want to learn more about energy efficient coding techniques.
In this course, you will learn:

  • The basic concepts of computer functionality and architecture, such as clock cycles, parallelism, execution pipelines, and superscalar architectures.
  • How to use coding techniques in C and assembly, to significantly minimize the number of instructions executed by the CPU
  • About intrinsics and macros, and how you can apply them to any algorithm to increase energy efficiency

The course consists of educational videos, multiple choice tests, and multiple, detailed coding examples. Depending on your prior knowledge and engagement with the coding material, you will spend 5-10 hours per week.
Prequisite knowledge for this course is fundamental programming experience in C, as well as basic knowledge about computer architecture concepts and functionality. Experience with an IDE (preferably Microsoft Visual Studio) is recommended to evaluate the programming examples.

What you'll learn

  • Understand the basic concepts of computer functionality and architecture
  • Learn how to use coding techniques in C and assembly, to significantly minimize the number of instructions executed by the CPU
  • Learn about intrinsics and macros, and how to apply them to any algorithm to increase its energy efficiency

Who this course is for
Students, researchers, or developers that work or study in computer science or a related field and want to learn more about energy efficient coding techniques

Course contents

Intro:
In this section, you'll get to know the course lecturer, Prof. Vesselin Iossifov. We'll also introduce the concepts and contents, that are used and covered in this course.

Week 1 - Motivation, Concepts, and Architecture:
The first week of the course presents all the basic knowledge you need to know, including: The motivation for energy efficient programming, computer functionality and architecture basics, and an introduction into x86-programming.

Week 2 - Coding techniques for energy efficient programming:
The second week dives deep into various coding techniques, that allow energy efficient programming of superscalar CPUs, including: Coding techniques in C and Assembler, as well as Streaming Instruction Extensions (SSE) and vector intrinsics.
I like, I wish:
This survey will be unlocked after the course has finished and provides the opportunity to leave detailed feedback on the course.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Build a Modern Computer from First Principles: Nand to Tetris Part II (project-centered course) (Coursera) Coursera
Hebrew University of Jerusalem

Build a Modern Computer from First Principles: Nand to Tetris Part II (project-centered course) (Coursera)

In this project-centered course you will build a modern software hierarchy, designed to enable the translation and execution of object-based, high-level languages on a bare-bone computer hardware platform. In particular, you will implement a virtual machine and a compiler for a simple, Java-like programming language, and you will develop a basic operating system that closes gaps between the high-level language and the underlying hardware platform.

Jun 22nd 2026
5-12 Weeks
Computer Science: Algorithms, Theory, and Machines (Coursera) Coursera
Princeton University

Computer Science: Algorithms, Theory, and Machines (Coursera)

This course introduces the broader discipline of computer science to people having basic familiarity with Java programming. It covers the second half of our book Computer Science: An Interdisciplinary Approach (the first half is covered in our Coursera course Computer Science: Programming with a Purpose, to be released in the fall of 2018). Our intent is to demystify computation and to build awareness about the substantial intellectual underpinnings and rich history of the field of computer science.

Jun 15th 2026
5-12 Weeks
Energy Services (IST) MOOC Técnico
Instituto Superior Técnico, Universidade de Lisboa

Energy Services (IST)

This course introduces the concept of energy services and presents the modeling principles to design sustainable energy systems. The course will occur through a self-paced methodology, which means that will be open for a longer period and all the materials and evaluation are already available. Since there are not delivery limits, each participant can finish the course when most opportune during a year (15th March 2019 - 15th March 2020).

No session available
5-12 Weeks
How Computers Work: Demystifying Computation (FutureLearn) FutureLearn
Raspberry Pi Foundation,National Centre for Computing Education

How Computers Work: Demystifying Computation (FutureLearn)

Explore the fundamentals of computing - computer architecture, binary logic, data processing, circuits, and more. Understand computation, the basis of every computer system. On this course, you’ll gain an understanding of how computers work at a fundamental level.

Jan 2nd 2023
4 Weeks
Cómo implantar grupos de mejora de procesos (edX) EdX
Universitat Politècnica de València,UPValenciaX

Cómo implantar grupos de mejora de procesos (edX)

Aprende las fases de la mejora de procesos, las características del equipo de trabajo ideal y técnicas para implementar grupos de resolución de problemas. Cuando hacer las cosas bien no es suficiente, necesitamos convertir la mejora continua en un lema diario para todos los trabajadores de la empresa.

Self Paced
Self-Paced
Fondamenti di informatica (Federica Web Learning) Federica Web Learning
University of Naples Federico II

Fondamenti di informatica (Federica Web Learning)

Il mondo moderno è sempre più dipendente dall’Informatica e conoscerne i fondamenti e le relative applicazioni risulta essenziale per comprendere il funzionamento degli attuali Sistemi di Elaborazione delle Informazioni, oramai diffusi nei contesti più disparati ed imprescindibili per molte delle attività della nostra vita quotidiana. Il corso di Fondamenti di Informatica si propone di fornire ai discenti le nozioni preliminari alla base dell’informatica, ed in particolare quelle relative al trattamento delle informazioni mediante procedure “automatizzabili”.

No sessions available
13-24 Weeks
clean-IT: Towards Sustainable Digital Technologies (openHPI) OpenHPI
Hasso-Plattner-Institut

clean-IT: Towards Sustainable Digital Technologies (openHPI)

Digitalization is a game changer in the pursuit of a sustainable future. The latest digital technologies and applications like cloud, AI, and mobile devices enable us to achieve the Sustainable Development Goals and reduce carbon emissions in many sectors. Yet computer systems themselves have an immense energy requirement for their countless devices, data centers, applications and global networks. To effectively reduce the carbon footprint of digitalization, it is necessary to apply algorithmic efficiency and sustainability by design as guiding principles in digital engineering.

Mar 31st 2021
5-12 Weeks
Energía inteligente para un futuro sostenible (URJC) URJCx
Universidad Rey Juan Carlos

Energía inteligente para un futuro sostenible (URJC)

El panorama energético mundial, dominado por una demanda creciente de energía a escala global que se sustenta en el consumo masivo de energías fósiles, conlleva importantes retos a los que debe hacer frente nuestra sociedad. Planificar nuestro futuro energético es trascendental para lograr el avance de la humanidad. Sin embargo, no cabe cualquier solución, pues la necesidad de proveer de energía suficiente a una población mundial en constante e imparable crecimiento, debe compaginarse con una adecuada preservación del medio ambiente para seguir aspirando a un futuro sostenible de nuestra sociedad.

No session available
5-12 Weeks
Economic and Legal Aspects of Energy in Buildings (IST) MOOC Técnico
Instituto Superior Técnico, Universidade de Lisboa

Economic and Legal Aspects of Energy in Buildings (IST)

This course introduces the basic economic and legal aspects of applying energy efficiency in buildings. It introduces the different components that impact on energy prices, the main legal and regulatory frameworks applied to buildings, the methodologies to evaluate energy efficient projects in buildings, and the financial mechanisms used to support energy investments contracts.

No sessions available
5-12 Weeks