• filcuk@lemmy.zip
    link
    fedilink
    arrow-up
    4
    ·
    16 hours ago

    Can someone ELI5 the c dynamic arrays - how does this fit into the infrastructure?

    • BartyDeCanter@lemmy.sdf.org
      link
      fedilink
      arrow-up
      4
      ·
      7 hours ago

      There is a huge amount of C code underlying most things, including the Linux kernel, most compilers, the Python interpreter, etc. At the same time, C doesn’t have dynamic arrays as a built in type but they are often critical to the operation of all of those. So, C developers keep implementing them in specialized ways for all of their applications.