339
you are viewing a single comment's thread
view the rest of the comments
[-] pileghoff@programming.dev 5 points 1 year ago* (last edited 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 4 points 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 3 points 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 1 points 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.

this post was submitted on 01 Sep 2023
339 points (96.2% liked)

Programming

17314 readers
212 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS