# How to write components

Gambas components are shared libraries written in C or C++ that add new functions to the Gambas interpreter.

They act like Linux drivers towards the Linux kernel :

- The components and the interpreter communicate through the Gambas Programming Interface.
- They must be compiled inside the Gambas source package.
- They are executed in the interpreter environment, and so must not do what they want.

## Overviews

- Introduction
- Quick start
- The main file
- The interpreter hooks
- Writing classes
- Special methods
- The components description file

## Reference

- Gambas Programming Interface reference