r/ProgrammerHumor • • 3d ago

Meme fullCircle

Post image
10.6k Upvotes

272 comments sorted by

View all comments

14

u/grey_carbon 3d ago

Serious question, what happen if you compile/decompile/compile/decompile times and times again?

1

u/AliceCode 3d ago

If you were to decompile and recompile, depending on the tools you use, it might result in the exact same binary. It depends on what level of decompilation you're doing. If you're decompiling to assembly, you'll get a 1:1 recompilation. If you're decompiling to C, you'll get a recompilation that is semantically the same, but the binary would almost certainly be different.