Contributing a module
We have already discussed how to create a simple module in Lua for local usage. Now let’s discuss how to create a more advanced Tarantool module and then get it published on Tarantool rocks page and included in official Tarantool images for Docker.
To help our contributors, we have created modulekit, a set of templates for creating Tarantool modules in Lua and C.
As a prerequisite for using
first. For example, in Ubuntu say:
$ sudo apt-get install tarantool-dev
See README in “luakit” branch of tarantool/modulekit repository for detailed instructions and examples.
In some cases, you may want to create a Tarantool module in C rather than in Lua. For example, to work with specific hardware or low-level system interfaces.
See README in “ckit” branch of tarantool/modulekit repository for detailed instructions and examples.
You can also create modules with C++, provided that the code does not throw exceptions.