The Catch2 adapter for Visual Studio

The Goal Reveal the tests written using the Catch2 framework in the Test Explorer inside the Visual Studio 2022 Catch2 A modern, C++-native, test framework for unit-tests, TDD and BDD - GitHub - catchorg/Catch2) Test Adapter for Catch2 Within Visual Studio, the Test Explorer is a convenient way to run and debug unit tests. This test adapter adds support for the Catch2 C++ test framework (version 2.x and 3.x). This adapter is for use in combination with Visual Studio 2017 and later. ...

February 26, 2025

How many hours a day can you write code

How many hours a day can you write code, and at what point does the quality of your work go down? Even more important is how many weeks and months of that max effort you can still be effective. In my life, there have only been three periods where I worked crazy hours, and only two of those were multiple months. Generally, over my forty years, I worked a reasonably regular schedule. The standard forty hours a week rarely involve only writing code; you are always doing other things, such as meetings, talking with people, reading or writing documentation, emails, or, more recently, Slack messages and the like, or even reviewing code (which is like coding). ...

February 19, 2025

Pisanie jako inżynier oprogramowania

Pisanie jako inżynier oprogramowania Jak stać się lepszym pisarzem jako inżynier oprogramowania. Przyjrzymy się, dlaczego umiejętność pisania jest równie ważna, co kodowanie, oraz jak systematycznie rozwijać tę zdolność. Pisanie, połączone z kompetencjami technicznymi, może stać się prawdziwą supermocą w karierze każdego inżyniera oprogramowania. Dlaczego warto pisać? Pisanie odgrywa kluczową rolę w codziennej pracy inżyniera. Niezależnie od tego, czy tworzymy e-maile, dokumentację, komentarze w kodzie, czy planujemy projekty, precyzyjne przekazywanie myśli jest niezbędne. Oto kilka powodów, dla których warto rozwijać umiejętności pisarskie: ...

Understanding Spectre: A Explainer on the Speculative Execution Vulnerability

Ben Visness, How does Spectre work? In a nutshell, Spectre is a class of vulnerabilities that exploit speculative execution, a feature present in modern CPUs to enhance performance. This article by Ben Visness offers an intuitive explanation of how Spectre works and what can be done to mitigate it. Speculative Execution: The Basics To understand Spectre, one must first comprehend speculative execution and out-of-order execution. Speculative execution is a process where the CPU guesses whether a condition will be true or false and proceeds accordingly to save time if it guesses correctly, with only a minor penalty if it guesses incorrectly. Out-of-order execution is when the CPU executes instructions in an order different from how they are written to achieve better performance, as accessing memory can be significantly slower than comparisons or arithmetic. ...

March 25, 2024

The First Microcomputer

The article discusses the Arma Micro Computer from 1962, which predates common references to the first microcomputer. This 20-pound, transistorized computer was designed for aerospace applications, including navigation and engine control. Despite its advanced features for the time, like a 22-bit serial architecture and a small instruction set with complex operations, it does not meet modern definitions of a microcomputer due to its use of discrete components. The computer used unique storage called transfluxors for non-destructive readouts, contributing to its reliability in aerospace environments. ...

February 26, 2024