local ffi = require("ffi")
ffi.cdef[[int printf(const char *fmt, ...);]]
ffi.C.printf("Hello %s!\n", "wiki")
The LuaJIT wiki has been created to gather community resources about
developing programs using LuaJIT. Everyone is welcome to contribute
relevant material -- please refer to the Wiki FAQ for details.
Directory of Content
LuaJIT Extensions
Performance Tuning and Testing
-
NYI - Things which are likely to cause NYI aborts from the JIT compiler
-
Reducing Testcases - Hints for reducing the size of test cases
LuaJIT Internals
System Integration
-
Linux binfmt_misc - Runnig LuaJIT compiled bytecode "directly" using binfmt_misc kernel feature
About the LuaJIT Wiki
-
Wiki FAQ - Frequently Asked Questions about the wiki
-
Wiki Wishlist - Wishlist for the wiki
-
Test - Testing ground for the wiki and wiki text formatting