~/talk

embedded DSLs for embedded programming

Talkat emBO++ 2018 · 2018-03-08..03-12· [c-and-cpp, embedded-and-hardware]
name:Sy Brand
slides:none on file

An Embarrassingly Templated Keyboard Framework shows a C++17 template EDSL that replaces macro-heavy C firmwares, targets a Teensy 2 controller, and generates per-key scan code at compile time so absent keys never produce runtime branches. Diagnostics use static_assert today but propose consteval assert and string literal template support to show layout errors at the source location. Benchmarks report similar compile times to the C version and smaller binaries; debuggability still suffers but no macros and planned meta classes aim to improve clarity.

AI-written summary · about

  1. 0:00Introduction to embedded DSLs
  2. 3:35Understanding abstractions
  3. 6:17Defining domain-specific languages
  4. 10:41Examples of embedded DSLs
  5. 17:41Case study: Keyboard firmware
  6. 22:41Implementation and performance
  7. 30:09Performance benefits of DSLs
  8. 32:46Diagnostics and error handling
  9. 38:50Future of C++ standards
  10. 51:07Metaclasses and conclusions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.