Why can't code be uncompiled? - eviltoast

I see a lot about source codes being leaked and I’m wondering how it that you could make something like an exact replica of Super Mario Bros without the source code or how you can’t take the finished product and run it back through the compilation software?

  • Trigg@lemmy.world
    link
    fedilink
    arrow-up
    99
    arrow-down
    1
    ·
    11 months ago

    It can be

    What it produces will typically not contain the original names for variables and functions, and will not retain comments. It takes a lot more effort to understand what the intention behind the code was.

    There’s also legality issues.