{"id":"https:\/\/volt-software.nl\/","title":"Volt Software","subtitle":"Embedded software for microcontrollers and embedded Linux. Firmware foundations (Groundplane), Modbus test tooling (BusBench), and consulting and outsourcing for industrial products.","updated":"2026-11-23T20:45:14+01:00","author":{"name":"Michael de Lang","uri":"https:\/\/volt-software.nl\/"},"link":[{"@attributes":{"rel":"self","type":"application\/atom+xml","href":"https:\/\/volt-software.nl\/feed.xml"}},{"@attributes":{"rel":"alternate","type":"text\/html","hreflang":"en","href":"https:\/\/volt-software.nl\/"}}],"generator":"Jekyll","rights":" \u00a9 2026 Michael de Lang ","icon":"\/assets\/img\/favicons\/favicon.ico","logo":"\/assets\/img\/favicons\/favicon-96x96.png","entry":[{"title":"Your Fault Handler Is in RAM. Is Everything It Calls?","link":{"@attributes":{"href":"https:\/\/volt-software.nl\/posts\/is-your-fault-handler-in-ram\/","rel":"alternate","type":"text\/html","title":"Your Fault Handler Is in RAM. Is Everything It Calls?"}},"published":"2026-11-14T12:00:00+01:00","updated":"2026-11-14T12:00:00+01:00","id":"https:\/\/volt-software.nl\/posts\/is-your-fault-handler-in-ram\/","content":{"@attributes":{"src":"https:\/\/volt-software.nl\/posts\/is-your-fault-handler-in-ram\/"}},"author":{"name":"Michael de Lang"},"category":{"@attributes":{"term":"programming"}},"summary":" TL;DR A fault handler that has to survive a flash fault must run from RAM, and so must everything it calls. Marking the handler with a section attribute only moves the handler. The compiler adds calls you didn\u2019t write (memset for = {0}, memcpy for a struct copy), helpers that don\u2019t get inlined stay in flash, and the linker routes the calls through veneers that sit in RAM and jump straight back... "},{"title":"ML-DSA on a Cortex-M33: From 140 ms to 27 ms, One Table at a Time","link":{"@attributes":{"href":"https:\/\/volt-software.nl\/posts\/mldsa-adventures-m33\/","rel":"alternate","type":"text\/html","title":"ML-DSA on a Cortex-M33: From 140 ms to 27 ms, One Table at a Time"}},"published":"2026-10-06T12:00:00+02:00","updated":"2026-10-23T22:44:17+02:00","id":"https:\/\/volt-software.nl\/posts\/mldsa-adventures-m33\/","content":{"@attributes":{"src":"https:\/\/volt-software.nl\/posts\/mldsa-adventures-m33\/"}},"author":{"name":"Michael de Lang"},"category":{"@attributes":{"term":"programming"}},"summary":" TL;DR I needed post-quantum signatures (ML-DSA, FIPS 204) on an STM32U5A5, a Cortex-M33 at 160 MHz. I started from mldsa-native, a portable, formally verified C implementation, in its low-stack configuration. From there, ML-DSA-65 signing went from 22.4 M cycles (140 ms) to 4.4 M cycles (27 ms) and verification from 3.9 M to 0.45 M cycles. That\u2019s 5.1\u00d7 and 8.6\u00d7 faster, and every signature is st... "},{"title":"Why Programming Is Hard","link":{"@attributes":{"href":"https:\/\/volt-software.nl\/posts\/why-programming-is-hard\/","rel":"alternate","type":"text\/html","title":"Why Programming Is Hard"}},"published":"2024-10-29T12:00:00+01:00","updated":"2026-10-23T22:44:17+02:00","id":"https:\/\/volt-software.nl\/posts\/why-programming-is-hard\/","content":{"@attributes":{"src":"https:\/\/volt-software.nl\/posts\/why-programming-is-hard\/"}},"author":{"name":"Michael de Lang"},"category":{"@attributes":{"term":"programming"}},"summary":" Running into issues Let me share you some of my regular run-ins with maintaining medium to large sized C++ codebases. Have you ever run into a situation where you\u2019re using a library or dependency for a while and an upgrade breaks it for you? Obviously, changes in API require refactoring, but I often run into issues with libraries that has only been tested in a narrow sense or upgrades the req... "},{"title":"static_vector Needs Type-Erasure","link":{"@attributes":{"href":"https:\/\/volt-software.nl\/posts\/static-vector-needs-type-erasure\/","rel":"alternate","type":"text\/html","title":"static_vector Needs Type-Erasure"}},"published":"2024-02-20T12:00:00+01:00","updated":"2026-10-30T22:31:00+01:00","id":"https:\/\/volt-software.nl\/posts\/static-vector-needs-type-erasure\/","content":{"@attributes":{"src":"https:\/\/volt-software.nl\/posts\/static-vector-needs-type-erasure\/"}},"author":{"name":"Michael de Lang"},"category":{"@attributes":{"term":"programming"}},"summary":" TL;DR Ichor now has a (not entirely complete) type-erasable StaticVector implementation. This can be used to store static_vector of different sized inside of another static_vector, having everything be stack allocated. What Is static_vector? P0843R6 proposes a new container type to C++. static_vector, much like vector is a dynamic container with a variable size. The biggest difference is tha... "},{"title":"Finding And Preventing Bugs In c++","link":{"@attributes":{"href":"https:\/\/volt-software.nl\/posts\/finding-and-preventing-bugs-in-cpp\/","rel":"alternate","type":"text\/html","title":"Finding And Preventing Bugs In c++"}},"published":"2023-12-03T15:00:00+01:00","updated":"2026-10-30T22:31:00+01:00","id":"https:\/\/volt-software.nl\/posts\/finding-and-preventing-bugs-in-cpp\/","content":{"@attributes":{"src":"https:\/\/volt-software.nl\/posts\/finding-and-preventing-bugs-in-cpp\/"}},"author":{"name":"Michael de Lang"},"category":[{"@attributes":{"term":"cpp"}},{"@attributes":{"term":"safety"}},{"@attributes":{"term":"bugs"}}],"summary":" Finding And Preventing Bugs In C++ Following the recent articles of Compiler Options Hardening Guide for C and C++ and Why I think C++ is still a desirable coding platform compared to Rust, and ThePrimeagen\u2019s reaction to the first one, I guess I can\u2019t help chiming in here. I\u2019ve been writing C++ in some form or another since 2008-ish. Always a good experience looking at your old code. So many ... "}]}