This is the source of InnoDB 0.1 ================================== The long term plan is to convert it incrementally to Zig. Starting with the tests. Requirements =============================================== Zlib >= 1.2.x Need the development header files and library Unix =============================================== Instructions for compiling and installing: ------------------------------------------ 1. CC="zig cc" cmake -G Ninja . The configure script attempts to select the optimal latching implementation for your configuration, if not explicitly set on the configure command line. If you need to force a particular selection you can use the following command line argument to select: --with-atomic-ops= one of [gcc_builtins|solaris|innodb] 2. ninja 3. #ninja install (not tested yet) 4. Enjoy! Windows ======= InnoDB does not currently build on Windows. Although there is no real reason why support could not be continued. Resources: https://nivethan.dev/devlog/extending-a-c-project-with-zig.html https://zig.guide/working-with-c/abi/