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?

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    10 months ago

    In a way, yes. But it really creates a mess when the linker starts sharing code between your code of which you have sources, and then jumps in the middle of system code for which you don’t have sources. And a pain in the whatever to debug.

    • noli@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Don’t you have the code in most cases? Like with e.g. freeRTOS? That’s fully open source

        • noli@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          Does commercial mean closed source in this context though? It seems like a waste of resources not to provide the source code for an rtos.

          Considering how small in size they tend to be + with their power/computational constraints I can’t imagine they have very effective DRM in place so it shouldn’t take that much to reverse engineer.

          May as well just provide the source under some very restrictive license.

          • Treczoks@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            10 months ago

            Yes, it is closed source, but you can buy a “source license”. Which is painfully expensive.