Pierre Gradot

Pierre Gradot @pgradot

About: Committed defender of C++ / Python & CMake lover / Black metal guitarist & mountain bike rider

Location:
Nantes, France
Joined:
Mar 25, 2020

Pierre Gradot
articles - 47 total

Manually Install WiFi Drivers on Linux

On December 24th, 2024, Debian had me a gift for me: it installed Linux kernel 6.11.10, and suddenly...

Learn More 1 1Mar 24

Resizing Partitions on Linux

Sometimes, you need to resize your partitions on Linux. And this may not be as easy as you...

Learn More 17 7Aug 29 '24

CMake on SMT32 | Episode 8: build with Docker

In this episode, we will use Docker to set up and manage our build environment. The embedded world...

Learn More 13 0Mar 18 '24

CMake on SMT32 | Episode 7: unit tests

It's been almost four years, and it's about time to revive this series on CMake and STM32 (or MCUs in...

Learn More 8 5Feb 15 '24

vtable under the surface | Episode 3 - How virtual functions are actually called

In this episode, we will see how invoking a virtual function in C++ translates into assembly...

Learn More 4 0Jan 23 '24

vtables under the surface | Episode 2 - ELF files

In this episode, we will explore what vtables mean in terms of bytes within ELF files. ...

Learn More 2 0Jan 5 '24

vtables under the surface | Episode 1 - Concepts

If you've been around C++ for a while, you've likely come across the terms "vtable", "virtual table"...

Learn More 3 0Jan 5 '24

Just in case: Debian Bookworm comes with a buggy GCC

Last month, I embarked on a new project. I set up a new computer with the latest Debian version,...

Learn More 8 4Dec 15 '23

Des enumérations encore plus puissantes avec Python 3.11

Python 3.11 est sorti à la fin de l'année dernière. Comme souvent, il y a beaucoup de nouveautés. Une...

Learn More 2 0Jun 8 '23

L'option --patch de Git

Vous avez déjà remarqué que plusieurs commandes Git ont une option --patch ? On peut citer add,...

Learn More 1 0Feb 9 '23

CPM.cmake to make CMake's FetchContent easier

Scrolling at my list of starred projets of GitHub, I saw a tool I had forgotten, CPM.cmake, and...

Learn More 1 3Dec 28 '22

The SYSTEM property from CMake 3.25

CMake 3.25 introduced a new variable called SYSTEM. It will help us handle warnings from 3rd party...

Learn More 5 1Dec 9 '22

Tester votre code autrement avec ApprovalTests

Il y a quelques temps, j'ai regardé une vidéo hypnotique d'Emily Bache, dans laquelle elle travaille...

Learn More 4 0Jul 22 '22

Recompiler vos projets C et C++ plus rapidement avec ccache

ccache est un compiler cache, sous licence GPLv3. Il permet d'accélérer la recompilation de projets C...

Learn More 8 0Mar 10 '22

CMake Presets: enfin un moyen de partager les configurations de nos projets

Une des principales nouveautés de CMake 3.19 est l'apparition de presets. La version 3.20 a déjà...

Learn More 6 0Jan 20 '22

Let's try C++20 | Erase elements in a container with std::erase()

Imagine you have a vector of integers and you want to remove all zeros. It sounds like a simple task,...

Learn More 9 2Dec 15 '21

FastAPI : le nouveau framework web pour vos API avec Python

Il y a depuis longtemps deux frameworks web bien implantés dans le monde Python : Django et Flask. Il...

Learn More 5 0Dec 2 '21

Let's try C++20 | std::cmp_* functions

Today, I have discovered a very simple (but yet very efficient and useful) feature from C++20: the...

Learn More 5 1Sep 22 '21

Heroku pour déployer votre application Python/Flask dans le cloud

Vous avez développé une application Python à l'aide du framework Flask. Tout se passe bien sur votre...

Learn More 5 0Sep 2 '21

Write your keywords for Robot Framework with Python

Here is a story based on my professionnal life: Me : "The Bluetooth communication between our...

Learn More 12 2Jun 24 '21

Afficher du Markdown dans une application Qt

Comme vous le savez déjà, je travaille (presque) sur un frigo connecté. Il existe une application PC...

Learn More 4 4Jun 17 '21

Magic Enum : la révolution des énumérations en C++

Aujourd'hui, il faut que je vous parle d'une bibliothèque qui a vraiment changé ma vie de développeur...

Learn More 7 0Apr 29 '21

Comprendre std::string_view de C++17

Comme les user defined literals, je me suis rendu compte récemment que l'existence des string views...

Learn More 6 2Mar 9 '21

Forbid a particular specialization of a template

Let's imagine a simple template function that performs basic numerical computations: template <...

Learn More 1 8Jan 11 '21

Let's try C++20 | std::is_constant_evaluated()

std::is_constant_evaluated() is one the many new small features of C++20. Specified in P0595R2, this...

Learn More 3 2Dec 28 '20

Let's try C++20 | using enum

Proposal P1099R5 by Gašper Ažman and Jonathan Müller adds the possibility to write using enum...

Learn More 10 4Dec 22 '20

Let's try C++20 | explicit(bool)

From the many changes of C++20, let's focus today on explicit(bool). This feature is described in...

Learn More 10 0Dec 7 '20

Let's try C++20 | Range-based for statements with initializer

Thomas Köppe wrote the proposal P0614R1 to describe a new feature called "Range-based for statements...

Learn More 10 1Nov 30 '20

std::optional from C++17 vs custom type for optional value

C++17 has introduced a very useful template class, std::optional: The class template std::optional...

Learn More 3 2Nov 25 '20

Ecrire ses keywords Robot Framework avec Python

Voici une histoire inspirée de ma vie professionnelle : Moi : "J'ai bien avancé dans le...

Learn More 3 0Nov 19 '20