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, 2021Mar 10, 2021
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, 20213Mar 7, 20213
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, 2021Feb 17, 2021
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, 20211Feb 10, 20211
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, 20213Feb 2, 20213