Jonathan Boccara's blog

Beyond Locks, a Safer and More Expressive Way to Deal with Mutexes in C++

Published April 26, 2019 - 0 Comments

Today’s post is written by Louis-Charles Caron. Louis-Charles is a software engineer at Advanced Silicon, working on image processing for low latency human-machine interaction. Fan of coding, Louis-Charles enjoys programming in Python and C++ and likes to design tools to build faster, more intuitive software. He dived into multi-threading a couple of years ago and […]

The Rule of Zero in C++

Published April 23, 2019 - 0 Comments
rule of zero

  Now that we’re clear on the Compiler-generated Functions, the Rule of Three and the Rule of Five, let’s put this to use to reflect on how to use the “= default” feature to have expressive and correct code. Indeed, C++11 added the possibility to require from the compiler that it write a default implementation for […]

CPPP

Published April 12, 2019 - 0 Comments

Here is an exciting piece of news for the C++ community: the CPPP conference has been officially announced! CPPP is a C++ conference in Paris. Even if you can parse its acronym as “C++ Paris”, this is not what is stands for. It stands for “C++ Progress-Produce-Push forward”. Those are the 3 tracks of the […]

How to Emulate the Spaceship Operator Before C++20 with CRTP

Published April 9, 2019 - 0 Comments

Today’s post is written by Henrik Sjöström . Henrik is currently working at Starcounter building an SQL queryprocessor. He enjoys working on algorithmically complex issues and prioritises expressive code so the actual problem is visible rather than hidden by hard to follow code. Making a class comparable is usually something of a chore. In C++20 […]

10 Code Smells a Static Analyser Can Locate in a Codebase

Published March 26, 2019 - 0 Comments

Today’s guest post is written by Issam Lahlali. Issam is the CppDepend lead developer. He enjoy writing C++ code every day and  he wrote many posts about the C++ code quality. Static analysis is not only about directly finding bugs, but also about finding bug-prone situations that can decrease code understanding and maintainability. Static analysis […]