💾 Archived View for dmerej.info › en › blog › 0060-introducing-the-chuck-norris-project.gmi captured on 2024-05-12 at 15:08:10. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
2018, Mar 10 - Dimitri Merejkowsky License: CC By 4.0
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();
Note: You will find all the source code on GitHub[1].
1: https://github.com/dmerejkowsky/chucknorris
"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[2] described by Adi Shavit.
2: http://videocortex.io/2017/salami-method/
Here are all of them, in chronological order. Enjoy!
Part 1 - Using CMake and Ninja
: Let's Build Chuck Norris! - Part 1: CMake and Ninja
Part 2 - Managing third-party dependencies with conan
: Let's Build Chuck Norris! - Part 2: SQLite and conan
Part 3 - Exposing a C API on top of C++ code
: Let's Build Chuck Norris! - Part 3: A C wrapper
Part 4 - Using Python with ctypes
: Let's Build Chuck Norris! - Part 4: Python and ctypes
Part 5 - Using cffi to build a Python extension
: Let's Build Chuck Norris! - Part 5: Python and cffi
Part 6 - Cross-compiling for Android
: Let's Build Chuck Norris! - Part 6: Cross-compilation for Android
: Let's Build Chuck Norris! - Part 7: Android and JNA
----