Overview

The Alore C API can be used to implement modules accessible to Alore programs in C or C++. By implementing modules in C you can access existing C libraries. This is the most common reason for using C modules, but a C module can also be used to improve the execution speed of many operations compared to a pure Alore implementation.

The Alore C API allows doing essentially everything that is possible in Alore code. You could also do many things that have no direct equivalents in Alore, but some of these are disallowed and are only a result of the less strict error checking performed by the C API.

You should, however, be aware the following issues before beginning to write a module in C:

In a nutshell, always consider if Alore code might be good enough: write it in Alore unless there is a very compelling reason to do otherwise.