GDB Pretty Printers for Custom C++ Types: Writing Your Own
GDB's Python API lets you write pretty printers for any C++ type. An std::variant printer and a ring-buffer printer that I use daily in embedded debugging sessions.
Language tutorials, coding best practices, and comparative analysis of development tools
Protocol Buffers need a code generator. MessagePack is simpler but schema-less. CBOR is self-describing and has an IETF spec. A benchmark on constrained hardware.
GDB's Python API lets you write pretty printers for any C++ type. An std::variant printer and a ring-buffer printer that I use daily in embedded debugging sessions.
Lua is 280 KB and integrates cleanly into a C++ host. The binding layer between C++ objects and Lua tables has a performance cost that surprises engineers who haven't measured it.
Forth's interactive development loop on a microcontroller is genuinely faster than edit-flash-debug cycles. The language is not for production code, but the workflow concept is.