• SirQuack@feddit.nl
    link
    fedilink
    arrow-up
    13
    ·
    23 hours ago

    I’ve said this on reddit before, but once for a joke I tried to make a windows program to play doot.wav during October at random, and tried programming it on Linux.

    Sinds playing audio and working with the system tray was tricky, I ended up with electron.

    So yeah, an atrocious 120 mb application to play a 6kb wav file with a Math.random(). I don’t remember the memory consumption, but it was probably just as gross.

    • Gxost@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      19 hours ago

      Once I wrote an annoying program adding acceleration to the mouse cursor, so it was difficult to click any UI item. It was written in Object Pascal with Win API and weighted 16 KB. And I think in C it would be even smaller.