News for hackers. Stuff that matters.
Re:Valve is testing ARM64 support for popular games by namrog84 on Monday September 23, 2024 @12:11AM (#41622338)
Yes i dont see why not. At least on the surface technical level.

I used to work at ms on xbox backcompat games and we AOT recompile PowerPC arch to x86. (Xbox 360 to Xbox one).

You could likely aot recompile any arch with enough resources to fix up issues and things.

One key difference is older games were fixed so no more updates. It can be a little trickier with modern games still taking updates but could be done.

Re:Valve is testing ARM64 support for popular games by Rohansi on Monday September 23, 2024 @12:23AM (#41622371)
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.
Re:Valve is testing ARM64 support for popular games by whazor on Monday September 23, 2024 @03:39AM (#41623387)
LuaJIT would also work with ARM though, so would it be possible to swap it out?
Re:Valve is testing ARM64 support for popular games by corsix on Monday September 23, 2024 @04:22AM (#41623679)
Indeed, LuaJIT support for Windows/Arm64 was added in 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
Re:Valve is testing ARM64 support for popular games by saidinesh5 on Monday September 23, 2024 @05:26AM (#41624084)
Swapping out is possible only if there are shared libraries though.

For statically linked programs is there anything that can be done?

Re:Valve is testing ARM64 support for popular games by whazor on Friday September 27, 2024 @08:11AM (#41669479)
Valve 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.