How to Design and Build Sustainable SoftwareElectronic devices that run software are all around us. Your mobile phone, your car, your microwave, and virtually anything around you – there’s a very good chance that they have electronic components running some form of software. These devices inev...19 min read·freecodecamp.orgJan 18, 2024
C++ Tutorial – What Are the constexpr and constinit Specifiers?When we write programs, many operations which are performed at runtime can actually be done at compile time – that is, baked into code. This improves program performance since operations are no longer being computed on the fly, during runtime. Whil...6 min read·freecodecamp.orgDec 11, 2023
What is the Static Initialization Order Fiasco in C++? [Solved]In this article, I'll be covering a subtle but egregious problem that can occur in C++ programs. This problem is popularly called the 'Static Initialization Order Fiasco'. I'll first go over what the problem is, then go onto some solutions and explo...9 min read·freecodecamp.orgDec 6, 2023
Keeping Time in C++: How to use the std::chrono APIKeeping track of time is a very important aspect of computer programs. Some common use cases are: Measure/profile the performance of certain parts of code. Do work at certain periods of time, from within a program. Detect whether threads are in a d...7 min read·freecodecamp.orgDec 4, 2023
How to Build a Clang AST-Based C++ Static Analysis ToolClang is a set of tools and projects that provides infrastructure for languages in the C family like C, C++, OpenCL, and CUDA. It is a part of the LLVM project. This article will show you how to use Clang's front end libraries to build a simple stati...11 min read·freecodecamp.orgNov 30, 2023