• chalk46@kbin.social
    link
    fedilink
    arrow-up
    4
    arrow-down
    8
    ·
    5 months ago

    Who the hell writes stuff like this in asm, honestly? Hasn’t C been around since like the 70s

    • amigan@lemmy.dynatron.me
      link
      fedilink
      English
      arrow-up
      19
      ·
      5 months ago

      “Who the hell” writes an OS in assembler in the 80s? Uh, some of the utilities are in C, but compilers were slow and generated slow code back then, and it was quite noticable on a slow machine. When every byte of memory counts, you often need to hand-optimize.

      • billgamesh@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        My DOS computer from the 90s is sluggish with some of the more complex hand-written assembly things. C and UNIX were for powerful multi-user uses.

        Roller Coaster Tycoon was written in assembly for optimization too.