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
LuaJIT Internals
System Integration
-
Linux binfmt_misc - Running 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