Skip to content

Tutorial

Plotting histograms in the terminal

I was generating some random numbers the other day. And I really felt the urge to visualize them. Just to get an intuition, like, what's the shape of the distribution? Is it noisy or smooth?

When in Python, I would pip install matplotlib for this kind of stuff. But what are the options when you're in C?

I ended up writing a plot library from scratch of course :) plt.c on github

The 7 levels of highly effective Makefiles

Rumor has it that all Makefiles in use today were written in a time when dinosaurs roamed the earth. Nobody actually writes new Makefiles anymore, right?

Right. Makefiles cause a lot of anxiety, but in this article, I will walk you through the humbling experience of writing a Makefile from scratch. To automate a C build system.