What is the best way to organize data on my embedded system?

I didn’t do much programming for Embedded Systems before, and now I need to create some scripts for something relatively tiny (<60MB RAM, almost all of which are already used by other more critical processes, the processor is less than ~ 500 MHz). I cannot run something that is there all the time, so Firebird is not working. I suggested sqllite, but people more familiar with the platform told me that even this probably consumes too much memory and processing power.

I will program the prototype in Perl, and you will probably have to rewrite the scripts that I create in c for better performance later in the future. I would like to be able to reuse the data structures that I create when I do it again. Most of my experience so far has been in MySQL, so it would be great if the syntax was close to that. Any suggestions?

Sorry, I can’t describe the platform I'm working on.

+3
source share
3 answers

From what you described, I would look at Berkley DB or similar key value storage.

C- Perl. - pack, . , Convert:: Binary:: C , C.

CBC , .. . , typedef , CBC, float Perl, , .

.

0
+2

, lua , , c.

?

, ​​ . , , .

  • , .
  • ,

..

, / .

0

Source: https://habr.com/ru/post/1753221/


All Articles