It seems FFI is currently not used for mat4: https://github.com/excessive/cpml/blob/master/modules/mat4.lua#L43 It has been disabled in this commit (2016): https://github.com/excessive/cpml/commit/3a18ed0f8cae35c0d159c6433c5e18d4d70bccde Is this well-known? Why is it like that? Are there plans to re-enable it?