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...Jan 18, 2024 · 19 min readfreecodecamp.org
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...Dec 11, 2023 · 6 min readfreecodecamp.org
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...Dec 6, 2023 · 9 min readfreecodecamp.org
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...Dec 4, 2023 · 7 min readfreecodecamp.org
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...Nov 30, 2023 · 11 min readfreecodecamp.org