Skip to Content

Introducing the "Let's Build Chuck Norris!" Project

The ChuckNorris library #

The Chuck Norris library is written in C++ and contains a class able to give you random Chuck Norris facts when the getFact() method is called:

Here’s how to use it:

#include <ChuckNorris.hpp>

ChuckNorris chuckNorris;
std::string fact = chuckNorris.getFact();
You will find all the source code on GitHub.

Let’s build Chuck Norris! #

“Let’s Build Chuck Norris!” is a series of blog posts aiming at exploring various topics about C++ and build systems, and providing an example of the Salami method described by Adi Shavit.

Here are all of them, in chronological order. Enjoy!

Part 1 - Using CMake and Ninja

Part 2 - Managing third-party dependencies with conan

Part 3 - Exposing a C API on top of C++ code

Part 4 - Using Python with ctypes

Part 5 - Using cffi to build a Python extension

Part 6 - Cross-compiling for Android

Part 7 - Android and JNA

Part 8 - Using C++ in an iOS application


Thanks for reading this far :)

I'd love to hear what you have to say, so please feel free to leave a comment below, or read the contact page for more ways to get in touch with me.

Note that to get notified when new articles are published, you can either:

Cheers!