CO2 library

Libco2 is a small and high performance object system for C. It is intended for C developers, that want to do Object Oriented Programming (OOP) in C. It is possible to use it with or without dynamic memory allocation (i.e. malloc() and friends).

Disclaimer

This project is really in its infancy, so expect it to change heavily in future releases. I am still considering whether I should merge it with the carbon project. That is why both projects are still in the same git repository.

Features

Libco2 supports the following features:

Currently the library also contains several basic datatypes for application development. The plan is to extract these classes to a separate library in the future, and rewrite them using carbon. The supported datatypes are:

Future plans

Some future plans are:

  1. Not as easy to use as other features, exists for the carbon compiler.