C++ Weekly - Ep 59 - Negative Cost Embedded C++ - Part 2

I continue my series on embedded C++ with an example of how we can merge register accesses and save a few more bytes.



C++ Weekly - Ep 58 - Negative Cost Embedded C++ - Part 1

I continue my series on embedded C++ with an example of how templates and constexpr can provide flexibility while reducing the compile size and increasing performance.



C++ Weekly - Ep 57 - Dissecting An Optimization

In this episode I dissect an optimization that’s unique to Clang.



C++ Weekly - Ep 56 - Zero Cost Embedded C++ - Part 3

We conclude the first part of our series on the MSP430.



C++ Weekly - Ep 55 - Zero Cost Embedded C++ - Part 2

We continue our series on the MSP430 with C++.



C++ Weekly - Ep 54 - Zero Cost Embedded C++ - Part 1

In this episode we get set up with using the latest C++ features to program a chip which has only 2KiB of flash and 128Bytes of RAM available.



C++ Weekly - Ep 53 - Gotos Are Everywhere

In this episode I break down how some C++ features are defined in terms of goto, so we are essentially using goto throughout our code.



C++ Weekly - Ep 52 - C++ To C Compilation

In this episode we play with llvm-cbe, the C back-end for LLVM, which allows us to essentially compile C++ code into C code.



C++ Weekly - Ep 51 - Advanced Stateful Lambdas

In this episode we try to see just how far we can take the idea of a “stateful lambda” by building one that can be manipulated and interacted with from the caller side.



C++ Weekly - Ep 50 - Inheriting Lambdas vs Generic Lambdas

Now that we know why we would inherit lambdas, and merge them into one implementation (to make a visitor, for instance), how and why does this compare to using a generic lambda? What advantage does one have over the other?