blog

C++: Forwarding references, overload resolution, and taking back control

Consider merging overloads into one function with forwarding reference parameters

5 min read

27 Jan 24

blog

C++: Disable implicit conversion in specific contexts only

You get one implicit conversion, so burn it with a wrapper

2 min read

14 Nov 23

photography
Vista Perugia
1

3 Sep 23

blog

C++: Revisiting combinatorial instantiation of templates with std::variant

Compiler optimizations can break it, function attributes can fix it.

3 min read

16 Aug 23

blog

C++: Combinatorial instantiation of templates with std::variant

An alternative to explicit instantiations and macros.

3 min read

11 Jun 23

software

Doxide

Modern documentation for modern C++.

Doxide
blog

C++: Avoiding Argument Dependent Lookup

A little trick using an extra namespace and cross-import.

2 min read

30 Apr 23

fiction

Tattoo the Sea

“Fat rain poked the terrace. Separate splots—caliper-sizeable, measurable, aged and faded by the sun and vanished back to sky. ”

Tattoo the Sea

20 min read

7 Apr 23

drawing
Girl with Headphones
1

2 Apr 23

blog

Sums of Discrete Random Variables as Banded Matrix Products

Zero-stride catch and a custom CUDA kernel.

Sums of Discrete Random Variables as Banded Matrix Products

10 min read

16 Mar 23

blog
Fast Enumeration of Sums of Discrete Random Variables

5 min read

22 Feb 23

blog

GPU Course: Foundations of GPU Computing

A short course with a machine learning flavor, working with a feed-forward neural network implemented in C.

3 min read

13 Feb 23