I'll Build Myself -- Phil Nash
A new instant classic for the new year, by the great Phil Nash of C++ on Sea...
June 16-21, Sofia, Bulgaria
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Blog Staff | Jan 2, 2023 12:23 PM | Tags: None
A new instant classic for the new year, by the great Phil Nash of C++ on Sea...
By Blog Staff | Jan 1, 2023 11:32 AM | Tags: None
Sending us straight into the new year with cash, cars, and games:
An interview that went viral
by Rainer Grimm
From the article:
I gave the interview for the e-finance-blog "efinancialcareers". I essentially stated the following:
- C++ is heavily used in the finance industry, for game developers, and in the automotive industry.
- When you want to learn C++, start at least with C++11.
- C++ is often used to build infrastructure.
- C++ is too big to fall.
... In total, I got almost 2000 comments. Today, I want to present the main points about the final interview, because this is my motivation for writing articles, posts, and books, recording videos, and teaching and mentoring C++...
By Andrey Karpov | Dec 29, 2022 09:42 AM | Tags: pvs-studio open source bugs
New Year is coming! It means, according to tradition, it's time to recall 10 of the most interesting warnings that PVS-Studio found during 2022.
Top 10 bugs found in C++ projects in 2022
by Vladislav Stolyarov
From the article:
Here the analyzer detected that a function, marked as noexcept, calls a function that throws an exception. If an exception arises from the nothrow function's body, the nothrow function calls std::terminate, and the program crashes. It could make sense to wrap the setName function in the function-try-block and process the exceptional situation there — or one could use something else instead of generating the exception.
By Blog Staff | Dec 24, 2022 10:34 AM | Tags: None
Imagine Jonathan Wakely in a red suit with his helper elves, delivering presents:
libstdc++ gets C++20 <chrono>
As seen on Reddit:
It looks like Jonathan Wakely has just today contributed a huge amount of effort towards
<chrono>
.He's added the time zones, leap seconds, all that good stuff.
He's even added GDB pretty printers for inevitable date time debugging!
And these features are supported in <format>, which libstdc++13 has, if you weren't already aware. He's also made many other various improvements. Lets give a round of applause to Jonathan Wakely!
By Blog Staff | Dec 24, 2022 10:21 AM | Tags: None
With detailed step by step instructions on how to make it work...
Using modules in the big three compilers: a small experiment
From the article:
The goal of my experiment was to see how easy it is to write code that a) uses C++20 modules, b) can be compiled by GCC, Clang and MSVC without using conditional compilation, c) imports something from the standard library, d) exports at least one templated function, e) has a peculiarity that makes the module harder to find (in my case, the module is named b but the file that contains it is named a.cppm).
The experiment sort of succeeded...
By Blog Staff | Dec 24, 2022 10:18 AM | Tags: None
Far east (const?) panel, starting right off with modules:
C++ Tokyo Meetup with JF Bastien, Jason Turner, Chris DiBella
By Blog Staff | Dec 20, 2022 01:54 PM | Tags: None
A canonical example:
by Rainer Grimm
From the article:
Purpose: Defines a family of algorithms and encapsulates them in objects
Also known as: Policy
Use case:
By Blog Staff | Dec 19, 2022 02:10 PM | Tags: None
Hot off the video press:
By Blog Staff | Dec 19, 2022 01:53 PM | Tags: None
With or without actual templates:
by Rainer Grimm
From the article:
The key idea of the Template Method is easy to get. You define the skeleton of an algorithm that consists of a few typical steps. Implementation classes can only override the steps but cannot change the skeleton. The steps are often called hook methods...
By Blog Staff | Dec 17, 2022 03:05 PM | Tags: None
ABSA == Ask Bjarne Stroustrup Anything: