Crafting EDSL In C++ using Metaprogramming, Operator Overloading, & Lambda Expressions
summary
Builds a runtime EDSL in C++ that implements an asynchronous block for Tizen apps using only C++ features: template metaprogramming, operator overloading, lambdas and macros. It maps tfc_async / tfc_async_complete into an expression tree by overloading binary operators, carries lambda objects in temporary operands, and validates return/parameter rules with type traits and static_assert. Prototype hooks into the Flat‑C EFL API (e.g. ecore_thread_run) and demos run correctly; tradeoffs are longer compile times and the limits of C++ operator grammar.
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 1:25Defining the eDSL concept
- 13:28Technical challenges in Tizen
- 13:54Designing the eDSL syntax
- 22:19Implementation and validation
- 52:32Demonstration and conclusion
related talks
50mExpression Templates: Past, Present, Future
01h 04mEDSL Infinity Wars: Mainstreaming Symbolic Computation
59mExpression Templates: Past, Present, Future
01h 07mC++20 Concepts: A Day in the Life
01h 06mResolving Template MetaProgramming Challenges Using Type_expr
42mC++ Horizons
45mC++ is a Metacompiler
01h 47mFunctional C++
