An attempt to remove dangling pointers in C++
Have you ever had any dangling pointers or references in your application? If so, this article will open a discussion about how to try to remove them from your application. A bit of Context As many of you may have heard, during the last months there were some discussions about memory-safe languages and governmental organizations […]
safety
(C++, Dangling, Pointers, Rust, Safety)
Thoughts about getters and setters in C++
This article deals with getters and setters in C++. I am sorry, it is not about coroutine, but part 2 of thread pools will come in the following weeks. TL;DR: Getters and setters are bad for structure like objects. Introduction In this article, I will only give my opinion about them, I don’t want to […]
C++
(C++, getters, immutable, performance, setters)
Thread pool with coroutines: Threads (1/3)
Introduction In this little series of articles, we are going to see how to implement a thread pool usable with coroutines. This series will contain these articles : Creating a Thread Creating the pool Using future with the pool The final objective will be to be able to write something like that: Choice of implementation […]
C++, coroutines
(C++, coroutine, multithread, thread, threadpool)