01 // PROJECT AT A GLANCE
C++ RUSH 1
CReinventing object-oriented programming in C, before even writing a C++ class.
A rush entirely aimed at understanding: rebuilding in C, piece by piece, what C++ will later hand over ready-made — gathering data with the behaviour that goes with it, preparing and releasing it automatically, and letting each type react in its own way to the same request. It is by doing it yourself that you understand there is nothing magical about an object: it is a data structure paired with an array of functions.
An object system in C inspired by Axel-Tobias Schreiner's book: class descriptors carrying their function pointer table, generic variadic new and delete, reified basic types (Int, Float, Char) and an Array container with its own iterators.
03 // KEY OUTCOMES
- Understanding objects by building them yourself, before using them
- Virtual table and inheritance by memory layout, written by hand
- A subject inspired by a reference book, graded on the reasoning
BEYOND THE BRIEF
- Six concrete types delivered, including Array, Point and Vertex which compose other objects
04 // SOURCE TREE
READING SOURCE…