• pileghoff@programming.dev
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Why would I, an embedded developer working on devices with at most a couple of mb of flash, need to learn SQL?

    • whoisearth@lemmy.ca
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      The devil is obviously in the details but SQL is still so pervasive I’d never not recommend it.

    • luckystarr@feddit.de
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      It teaches you to think about data in a different way. Even if you never will use it in your products, the mental facilities you have to build for it will definitely benefit you.

      • pileghoff@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I see what you are getting at (and I actually do know the basics of SQL), but for embedded developers, i think it’s much more important to know about the storage medium. Is it EEPROM or flash? What are pages and blocks? Do you need wear leveling? Can you erase bytes or only entire pages at a time? What is the write time og a page, a block and a byte? There are so many limitations in the way we have to store data, that I think it can be harmful to think of data as relational in the sense SQL teaches you, as it can wreck your performance and the lifetime of the storage medium.