As far as I’m aware, the main problem with decompilers is the fact that they can’t name variables and functions automaticly. But that doesn’t matter if you are just going from binary -> decompiler -> compiler -> binary
And I know there’s a lot of platform dependent code like OS APIs (such as DirectX, and WinAPI). But surely there are substitutions of the functions defined in these APIs right? I think automated porting could be performed 90% of the time and the remaining 10% could be fixed with community patches
This feels like a incredibly stupid idea after writing down but I just want to know
How wine works might be an interesting read for you
https://werat.dev/blog/how-wine-works-101/
I know how wine works. I’m basically asking why is the translation step is done in runtime rather than during the installation
The article I posted goes into that level of detail.
I wont spoon feed it to you if you don’t want to read it
Very enjoyable read, thank you for sharing!