C++ – InformTFB
07.02.2021

Threadripper 3990X: compiling 1 billion lines of C++ on 64 cores

RAD Studio consists of Delphi and C++Builder. The object Pascal compiler in Delphi is a single-pass compiler, and the compiler itself is not parallel, but when compiling several projects in parallel, it was able to compile 1 billion lines of Object Pascal code in 5 minutes on a machine with a 16-core AMD Ryzen 9 5950x. I wanted to find out if it’s possible to do something similar for C++. […]
09.01.2021

Intriguing C++ 20 features for embedded developers

C is still the favorite programming language among embedded system developers, but there are quite a few of them who use C++in their practice. Using the corresponding features of C++ , you can write code that is as efficient as the code of a similar application written in C, and in some cases it will be even more efficient, since it can be quite tedious for an ordinary programmer to […]
04.01.2021

What is what in CMake 3.10+ and how to use it

Introduction CMake is growing in popularity. Many large projects are moving from their own build tools to CMake. The Conan project offers integration with CMake for dependency management. CMake developers are actively developing The tool and adding new features that solve common problems that arise when building projects. The transition from CMake 2 to CMake 3 was quite painful. The documentation does not cover all aspects of usage. The functionality […]
03.01.2021

Computer Emulation: CHIP-8 interpreter, timers and input processing

We have already created a fully working CHIP-8 emulator, but it, unfortunately, turned out to be very slow. Why? If you look at its main loop — you can see that data is displayed on the screen after each step of the loop is completed. When vsync is enabled, SDL tries to link the rendering speed to the display frame refresh rate (possibly 60 Hz). For us, this means that […]