Loading…
CppCon 2018 has ended
Back To Schedule
Wednesday, September 26 • 15:15 - 15:45
The Embedded Device Under Your Desk: UEFI Applications With Modern C++

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Inside of every PC, there is an environment capable of running arbitrary software without an operating system: The Unified Extensible Firmware Interface, or UEFI. Introduced to replace BIOS as a high-level interface between hardware and the kernel, it features many advanced features such as networking right after pressing the power button of your mainboard with a relatively simple C API.
In this session, we explore how we can apply modern C++ idioms to a bare metal environment like UEFI. Armed with a working modern C++ compiler, we'll wrap the C API with some metaprogramming tricks. This grants us better type safety and a cleaner API with no runtime overhead. Along the way we'll introduce a clean exceptionless error-handling method, and finally write a small demo application.
Finally, we look at the some of the proposals for the next C++ standard and how it helps us writing more concise yet efficient code that is sill conformant.

Speakers
avatar for Morris Hafner

Morris Hafner

Software Engineer, Codeplay Software
Morris is a Computer Science undergrad interested in computer graphics, the evolution of C++ and everything low level. He tries to (ab)use the language and its tooling to prevent mistakes in software while keeping the code as general as possible. On the GPU, he likes to play with... Read More →


Wednesday September 26, 2018 15:15 - 15:45 PDT
Telluride (407)