Writing Interfaces: Stay true in booleansWhen faced with passing multiple options as arguments to functions, C++ programmers will use enum class without much hesitation. Since…Mar 10, 20215Mar 10, 20215
Avoiding single-threaded memory access bugs with Rust (for C++ developers)In a previous article, I showed how Rust prevents us from introducing race conditions and invalid memory access to our code in…Mar 7, 2021423Mar 7, 2021423
Examples of declarative style in RustIn most low-level programming languages, we are used to describing how what we want is achieved, rather that what we want to achieve in…Feb 17, 202179Feb 17, 202179
Move semantics in C++ and Rust: The case for destructive movesFor value-oriented programming languages, move semantics present a big step forward in both optimization and representing uniqueness…Feb 10, 2021501Feb 10, 2021501
Making concurrency fearless with Rust for C++ developersMultithreading is hard. C++ is hard too. I will demonstrate how we can make multithreading at least a little easier by avoiding some of…Feb 2, 20211043Feb 2, 20211043