News for hackers. Stuff that matters.
Re:Files Are Hard (2015) by zwsxedcrfvtgb on Sunday December 01, 2019 @10:36AM (#21675923)
could you go a little more in depth about your setup?

do you mean you add the sqlite library, load the file and then use sqlite to read/write data to a database instead of a text or bin file? I like it...

I do simulations in physics and we're really not familiar with these types of things.

Re:Files Are Hard (2015) by punnerud on Sunday December 01, 2019 @01:12PM (#21676847)
Probably more than 50% of all the Android apps I have decompiled use SQLite for data storage.

Some extra time to learn SQL but it will save you a lot of time in the long run.

Another benefit compared to ASIC is that you get: File compression, easy to access random parts of the file and fast (random) inserts.

Re:Files Are Hard (2015) by tiborsaas on Sunday December 01, 2019 @10:44AM (#21675961)
I do the same to manage a few thousand records with Node.js. I like that I don't depend on a complex DB engine. It's just one file, very compact. I even commit the file to GIT :)