Re: Bytecode differences between v1 and v2?
- From: Pierre Fichepoil <contact@xxxxxxxxxxxxxxx>
- To: luajit@xxxxxxxxxxxxx
- Date: Fri, 1 Jan 2021 23:48:55 +0100
Le 01/01/2021 à 23:32, Petri Häkkinen a écrit :
The bytecode to be patched is actually stored in savegames,
found the problem
On a serious note, you're working with LuaJIT, you can reimplement
LuaJIT V1 bytecode in LuaJIT V2 and it will still be fast because of the
JIT compiler.
Here is a working VM by meepen :
https://gist.github.com/meepen/807dd81a572ffb0f28a8c44c04922fdd
Regards,
Pierre
Other related posts: