https://volt-software.nl/Volt SoftwareIndependent contractor with more than 10 years of development experience. Available for coaching, training, code reviews for C++ and C#. 2024-02-20T13:40:43+01:00 Michael de Lang https://volt-software.nl/ Jekyll © 2024 Michael de Lang /assets/img/favicons/favicon.ico /assets/img/favicons/favicon-96x96.png static_vector Needs Type-Erasure2024-02-20T12:00:00+01:00 2024-02-20T12:00:00+01:00 https://volt-software.nl/posts/static-vector-needs-type-erasure/ Michael de Lang 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... Finding And Preventing Bugs In c++2023-12-03T15:00:00+01:00 2023-12-05T13:48:51+01:00 https://volt-software.nl/posts/finding-and-preventing-bugs-in-cpp/ Michael de Lang 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’s reaction to the first one, I guess I can’t help chiming in here. I’ve been writing C++ in some form or another since 2008-ish. Always a good experience looking at your old code. So many ... C++ developers don't know how to be productive2023-11-13T20:00:00+01:00 2023-11-13T20:00:00+01:00 https://volt-software.nl/posts/cpp-devs-dont-know/ Michael de Lang Preface I find that Western culture these days is obsessed with having the sender in communication explain every little detail. For example, boot.dev’s latest blog post has a big preface as well. This is because if the receiver disagrees with something and that has not been spelled out in detail, the sender usually gets an ad hominem response. I think that’s an absolutely dumb evolution of our...