• sunbeam60@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    23 hours ago

    Many games are still hand optimised in assembly, at least the inner loops.

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      Compilers are pretty damn good at doing that by now.

      I can believe there’s some direct assembly usage down in the depths of Unity and Unreal engines, but the average game dev is probably not going to touch it.

      • sunbeam60@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        9 hours ago

        I’d agree that the average game dev is on Unity or unreal and won’t be hand optimizing any inner loops.

        But there are a surprising amount of studios still on their own tech and there the low-level engineers definitely do (I’ve worked in the industry and have seen it first hand - and done it myself).

        It also tends to be at the start of a console’s life span before the compiler and linker is mature up against the hardware.