• KubeRoot
    link
    fedilink
    English
    18 months ago

    I don’t think compiler optimizations matter much - supposedly the final build was compiled without optimizations, presumably by mistake, and the N64 has very specific hardware which compilers don’t know how to optimize for.

    What we certainly do have are much more powerful machines and software in general, letting you test, analyze and profile code much more easily, as well as vast amounts of freely available information online - I can’t really imagine how they did it back then.

    • @[email protected]
      link
      fedilink
      18 months ago

      Some optimizations help a lot. There’s a bunch of general optimizations that compiler do that work for any CPU. A simple example would be unrolling small loops. Compilers are fast enough today that they can brute force the best optimization for a given piece of code if needed.