jinhailang / blog

技术博客:知其然,知其所以然
https://github.com/jinhailang/blog/issues
60 stars 6 forks source link

lua vs luaJIT #19

Open jinhailang opened 6 years ago

jinhailang commented 6 years ago

lua:

luaJIT:

所以需要尽量通过 LuaJIT 的 FFI 来调用 C

lua code -> luaJIT 字节码 -> (热代码)对应的机器码

参考