Hello Jairo, Jairo A. del Rio <jairoadelrio6@gmail.com>: [portable bytecode] >is there any package, library or patch to generate and use such bytecode in Lua (not LuaJIT)? Which version? Have you checked out: https://github.com/openwrt/openwrt/blob/f8c87aa2d27ab405f284dd4357377ab5c893a345/package/utils/lua/patches/030-archindependent-bytecode.patch ? (spoiler: similar things can be done for Lua 5.4) In general, take a look around and see how the matching patches-host patch enables you to generate bytecode for some target architecture. Best regards, -- DoubleF