How do dynamically typed languages hold any data type in any value?

One way is NaN-Boxing. This technique crams a payload into a signaling NaN value.

Read More

C Tricks

I update this document with different C tricks I come across that I find useful.

Maybe you’ll find some of these tricks useful too.

Read More

Tri-Color Garbage Collector

Garbage collectors can seem magical, but their essence is quite simple.

Here I discuss and walk through an experimental tri-color garbage collector written in C.

Read More