Balancing Efficiency and Flexibility: Cost of Abstractions in Embedded Systems

Marcell Juhasz

⏱ 60 minute session
intermediate
13:45-14:45, Tuesday, 24th June 2025

This session will feature detailed case studies that measure the overhead associated with common programming abstractions in the context of embedded systems. By examining run-time implications, attendees will gain valuable insights into how these abstractions impact system resources like memory usage and execution speed. Key areas of exploration will include:

  • Encapsulation: Assessing the cost of data hiding and interface protection depending on implementation strategies.
  • Inheritance: Evaluating the costs and benefits of using class hierarchies in environments where memory and processing power are limited.
  • Polymorphism: Comparing run-time polymorphism via virtual functions to compile-time alternatives like templates and concepts, analyzing their respective impacts on performance and flexibility.

Through empirical data and performance metrics, participants will observe how traditional object-oriented techniques affect resource utilization. The discussion will also cover the advantages and trade-offs of these techniques, providing a balanced view of their impact on embedded systems.

Designed for developers and system architects working within the constraints of embedded systems, this talk aims to provide valuable insights into making informed decisions about when and how to use specific programming abstractions. Attendees will leave with a clearer perspective on optimizing their code for maximum efficiency, armed with practical knowledge about the trade-offs involved in adopting various software design paradigms.


🏷 constexpr
🏷 consteval
🏷 template
🏷 concept

Marcell Juhasz

Marcell Juhasz is an embedded software developer at Zühlke Engineering, a global innovation service provider that transforms ideas into new business models by developing cutting-edge services and products. At Zühlke, Marcell leverages his expertise in C++ and modern technologies to create advanced embedded systems. Prior to joining Zühlke, he gained valuable experience working at several smaller companies, where he developed new products and maintained existing ones using C++. Marcell recently graduated from the Vienna University of Technology with a specialization in embedded systems. His master's thesis focused on the benefits of using modern C++ in embedded systems, deepening his understanding and proficiency in the language.