Using std::span in Modern C++

How std::span makes pointer-plus-length APIs easier to review, where it fits in firmware and tools, and which lifetime mistakes it still cannot protect.
Embedded Systems & Electronics Engineering
Embedded Systems & Electronics Engineering

How std::span makes pointer-plus-length APIs easier to review, where it fits in firmware and tools, and which lifetime mistakes it still cannot protect.

Debugging gets faster when each failure leaves evidence. These C and C++ habits narrow symptoms, protect timing, and verify fixes without guessing.

Qt practices for instrument and control GUIs that need to stay responsive while serial links, parsing code, hardware, and plots misbehave.

Ten firmware habits that make bring-up easier, expose faults earlier, and keep common embedded failures from hiding in drivers, interrupts, buffers, or timing code.

A practical comparison of free PCB design tools, with attention to workflow, libraries, manufacturing output, privacy, and the mistakes that usually hurt first boards.

Ten C++20 features that make everyday code easier to review, harder to misuse, and more practical to maintain in real projects.

How common C++ container operations behave in real code, including allocation, element movement, iterator invalidation, and practical container choices.

How to choose the right const-related C++ keyword based on the guarantee you need, not only the spelling of the keyword.

If you are a Windows 10 user, you might have noticed that time to time and without doing anything from your side, your computer’s CPU and hard disk usage will rocket to the skies! This high CPU usage and hard…

Arduino and its related products are undoubtedly very popular among hobbyists and even professionals. One of the areas of interest with hobbyists and professionals is interfacing with many different sensors such as temperature, humidity, light, etc. The simplest method would…

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic…

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic…