• Strawberry@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    In a world where a bigger memory chip is more expensive by only a few cents where this would be most useful, is this feature still relevant?

    • kora@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      21 hours ago

      Yes, firmware running on bare metal requires good resource management. My current development board processor contains 512KB SRAM. That’s equivalent to half of the size of an average PDF.

    • jsomae@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      21 hours ago

      Yes, because cache optimization is still important. Also useful to keep the size of packets down, to reduce the size of file formats, and anywhere that you use hundreds of thousands of instances of the struct.