• AFK BRB Chocolate@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 month ago

    DOGE said they’re going to rewrite the existing SSA code, which is done in COBOL, to modernize it, and everyone is pointing out how fraught with peril that is. This is saying they’re going to do it in assembly, which is what we do when we need highly efficient code, like for a resource-constrained real-time control system, but is also much more challenging to program. The chance of rewriting a giant COBOL application in Assembly, and not making a whole mess of errors, is really small. And it would be very hard to maintain.

        • felbane@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          1 month ago

          In broad terms it’s true, though there are some variants of assembly that are newer than COBOL.

          Assembly language is one step above machine code, and was the first large step toward a world where people write server-side code in Javascript.

        • alcoholicorn@lemmy.ml
          link
          fedilink
          English
          arrow-up
          7
          ·
          edit-2
          1 month ago

          Assembly is a way of writing machine code, but with words and hexideci numbers instead of 1s and 0s and comments/white space, it’s barely a language, from the 40s.

          COBOL is a compiled language from the 60s. The compiler turns the somewhat human-readable code into assembly the computer can read.

      • Poplar?@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Assembly isnt a single language though. I could write assembly for riscv or a recent arm ISA and that would be quite new.

        I wondered if maybe “assembly” gets used to mean x86 but apparently thats a bunch newer than COBOL so I dont think Im being pedantic :)