V can translate your C code to human readable V code and generate V wrappers on top of C libraries.
Let’s create a simple program first:
To generate a wrapper on top of a C library use this command:
This will generate a directory with a V module.
When should you translate C code and when should you simply call C code from V?
Translating it to V gives you several advantages: