Home > Speakers >

Michael Bardwell

Embedded developer with five years of satellite payload experience. Specializes in reliable microcontroller and Linux-based application programming.

Writing Stack-Only C/C++ Libraries

Status: Coming up in April 2025!

In embedded systems, particularly in reliability-demanding environments like space, deterministic programming is crucial. A key aspect of this is avoiding dynamic memory allocation, especially on memory-constrained devices. This talk will explore the challenges and strategies for developing portable C++ libraries that operate solely on the stack.

We will emphasize the importance of stack-only programming in ensuring predictability and reliability in systems where memory management failures can lead to catastrophic outcomes. Attendees will learn techniques for managing constraints and implementing design patterns specifically tailored for stack usage.

Additionally, we will highlight practical examples and case studies, demonstrating how to leverage C++ features, such as type safety, encapsulation, and templates, to create robust libraries suited for resource-constrained environments. By the end of the session, participants will gain the tools and knowledge necessary to write efficient, reliable, stack-only C++ libraries that excel in the most demanding embedded contexts.

Go to Session