3 ms·
You can use LuaJIT's FFI. local ffi = require 'ffi' local arr = ffi.new('float[?]', 100) LuaJIT's FFI is pretty great. It puts even a lot of compiled lang
by edflsafoiewq 5y ago
You can use LuaJIT's FFI.
local ffi = require 'ffi'
local arr = ffi.new('float[?]', 100)
LuaJIT's FFI is pretty great. It puts even a lot of compiled languages to shame.