4 ms·
Not possible to fully AOT for all applications because you don't know which ones do JIT compilation to generate x86 code at runtime. Many games make use of LuaJ
by Rohansi 2y ago
Not possible to fully AOT for all applications because you don't know which ones do JIT compilation to generate x86 code at runtime. Many games make use of LuaJIT, for example.
- whazor 2y agoLuaJIT would also work with ARM though, so would it be possible to swap it out?
- corsix 2y agoIndeed, LuaJIT support for Windows/Arm64 was added in https://github.com/LuaJIT/LuaJIT/issues/593 https://github.com/LuaJIT/LuaJIT/issues/593, and there’s experimental out-of-tree support for Windows/Arm64EC in https://github.com/LuaJIT/LuaJIT/issues/1096 https://github.com/LuaJIT/LuaJIT/issues/1096
- saidinesh5 2y agoSwapping out is possible only if there are shared libraries though. For statically linked programs is there anything that can be done?
- whazor 2y agoValve does a lot of hacks in Proton to make particular games run better. I think swapping a static library might also be possible if you target a particular game.
- deleted 2y ago[deleted]