Рет қаралды 271
Compile-time reflection is the key ingredient to generic/fast code, especially useful in the embedded domain. C++23 has finally made a step into adding introspection support to the language, but are there reflection capabilities available already? In this talk we will explore why reflection is crucial when writing generic/fast code as well as what's possible with modern C++ already. Will also deep dive into what will be available with C++23 and beyond. Audiences will be exposed to template meta-programming techniques which enables reflection without language support and which also allow new programming paradigms such as design by introspection. We will also go through techniques and practical applications of introspection in the embedded world, its trade-offs and future directions. At the end of this talk audiences will have better understanding on practical application of reflection in embedded domain, template meta-programming techniques behind it and the future direction of reflection in C++. Let's get ready to #embed compile time reflection at emBO++ 2024!