• bus_factor@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Using a file system is much less bad than dynamically allocating memory, at least as long as you keep a predefined set of files.

      • Troy@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        I hate to alarm you but… What is a file system except dynamically allocated memory. ;)

  • frezik@midwest.social
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago

    Years ago, older C programmers told me you don’t know C unless you use dynamic memory management. I ended up rarely writing any C, but when I do, it’s usually on microcontrollers where dynamic memory management isn’t even supported out of the box.

    Jokes on you, greybeards!