• CrayonDevourer@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    2 days ago

    It is, but that code is run through a scrambler that makes it more difficult to read for a human, but basically a trivial task for a computer to undo anyways.

    So we’re just burning CPU cycles by scrambling it, and then just unscrambling it anyways – so Microsoft is just saying “why scramble it at all then?”

    This should, in theory, make it easier for people with less experience coding, to read and understand what’s going on.

    • Sentient Loom@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Now I’m more confused. Why is it scrambled? To keep people from copying it? Were they doing this before MS bought it?

      I was hoping you’d say “Microsoft decided to rewrite the whole game in C++” but I guess that’s not the case (although I think the AMAZING Minetest game is written in C++ and I actually like it more).

      • zarkony@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        Why is it scrambled? To keep people from copying it?

        Yes. Common practice to hide your code from the user, or potential rivals. I think they’ve been obfuscating the whole time, even back in Notch days.

        It was kinda pointless in this case, and was the reason why mod updates were slow between versions, even for simple mods.

      • CrayonDevourer@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 days ago

        Being written in C++ doesn’t keep it from being reverse engineered in exactly the same way. All code can be reversed. It’s a little easier with Java because java isn’t turned directly into machine-code at compile-time.