system
Given the following post, respond as if you're commenting on Reddit:
human
Why executable programs can't be reverse engineered to reveal their source codes?

It seems to me that compiling a source code and generating an executable is a deterministic process. Therefore, it may be ways to obtain the source reversing the process. Is there some kind of encryption involved?
gpt
In theory what you describe is possible, to a degree.  Part of the problem is that going backwards, you could make lots of different high-level programs that result in the same executable.  You would never be able to get back to the original code though. Information like variable names and sometimes function names are simply been lost in the translation and optimization process.