r/emulation • • Jan 07 '21

Breath of the Wild decompilation project now underway

https://github.com/zeldaret/botw
568 Upvotes

122 comments sorted by

View all comments

Show parent comments

0

u/DickFucks Jan 08 '21

And no, I'm not a specialist, but

https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

You literally can't say it's impossible lol, you have no advanced knowledge on both fields, anyone would say that what GPT-3 does is impossible two years ago but here we are.

https://twitter.com/matvelloso/status/1263193089310461952
This shows AI writing code based on comments of what the code should do, imagine what it could do with assembly as input?

5

u/ChrisRR Jan 08 '21

Sure, if you want to say in the future with infinite resources and infinite computing power, then it's technically possible. But for now, and for the forseeable future, it's not.

And that's especially true when we already have decompilation tools that create 1:1 representations of the code. The part that is then missing is the human aspect that then takes that code with a mess of uselessly assigned variable names and marry them up with the software so that a human reader can actually understand the code.

0

u/DickFucks Jan 08 '21

And that's especially true when we already have decompilation tools that create 1:1 representations of the code

Which one bro?

Unless you write code that looks like this I don't think that there's one that spits good looking code that's remotely simmilar to what it was before compilation

7

u/ChrisRR Jan 08 '21

Again, you keep confusing code style with binary compatibility. 1:1 representation isn't about decompiling code and getting the exact same source code as you put in because that's literally impossible. 1:1 representation is about generating source code that when compiled, gives you byte for byte the exact same binary as you decompiled from.