• TimeSquirrel
    link
    fedilink
    2621 days ago

    Cobol: you are old, and a nerd, and probably making some sweet cheddar right now propping up a mid to late 20th century beast somewhere.

    Assembly: you are a cyborg.

    • @[email protected]
      link
      fedilink
      English
      1021 days ago

      Assembly: you are a cyborg.

      Or programming a tiny microcontroller to blink a led as efficient as possible.

      • TimeSquirrel
        link
        fedilink
        721 days ago

        Something wrong with:

        #include <Arduino.h>
        
        
        void loop()  {
        digitalWrite(13, HIGH);
        delay(1000);
        digitalWrite(13, LOW);
        delay(1000);
        }
        

        ? 😂🤮

        • @[email protected]
          link
          fedilink
          1220 days ago

          Obviously the only correct way to blink an LED is to use a hardware timer to trigger a DMA transfer which stores a bit in the pin toggle register at a set interval

          • @[email protected]
            link
            fedilink
            English
            320 days ago

            yeah! Or or use the interrupt pins and a 555 timer! both options are better than python though at least.