C++

Benchmarking Kendall's Tau in R and Rcpp

Implement and benchmark a fast Kendall's tau-a in C++ via Rcpp against base R, discuss tie handling (tau-b), and when to move from R to C++.

Feb 27, 2026

From prototype to production, choosing the right R and C++ tool in Rcpp

what each tool solves, when to reach for it, and ready-to-paste code.

Jul 6, 2025

Partition/Decomposition of Breeding Values by Paths of Information
Partition/Decomposition of Breeding Values by Paths of Information

Partitioning genetic trends to quantify the sources of genetic gain in breeding programmes

Apr 10, 2021

The seven steps of a programer

Overview of the Seven Steps The seven steps proposed by Hilton et al. (2019) present an intriguing strategy for initiating a new project involving programming. This approach is concisely summarized in Figure 1. In this discussion, we will elaborate on these steps, drawing upon the work of Hilton et al. (2019). Figure 1: The seven steps (modified from Hilton et al. (2019)) All steps are then described in the sections below.

May 22, 2020

Expressions in C++

Introduction Expressions in C++ are fundamental constructs made up of operators, constants, and variables, following the language’s syntactical rules. Every expression is a segment of a code that returns a value. For instance: This example demonstrates the creation of variables to store values: a box for \(x\) and another for \(y\), where \(y\) equals the expression \(x + 13\) (thus, \(y = 23\)). Now, let’s delve into a more complex example:

Feb 16, 2020

Signed and Unsigned Binary Numbers

Introduction When programming in C, a fundamental step is understanding variable assignment. C offers various data types, and here we focus on int, used for integer data. There are two primary methods to define an int variable: Uninitialized Variable: Defined simply as int x;, this approach does not assign an initial value to the variable \(x\) (Figure 1). It’s generally advisable to avoid this since it can lead to bugs if \(x\) remains unassigned throughout the code.

Dec 4, 2019