Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using sds in embedded environment, even on Arduino? #98

Open
psprint opened this issue May 3, 2018 · 2 comments
Open

Using sds in embedded environment, even on Arduino? #98

psprint opened this issue May 3, 2018 · 2 comments

Comments

@psprint
Copy link

psprint commented May 3, 2018

Google doesn't indicate any connection between sds and Arduino, Stm32, etc. And it seems that lightweight and comfortable sds is a welcomed proportion between string.h and C++ string and it could be used even with 2 kB RAM arduino (or 528 kB stm32). Are there any pitfalls in this claim?

2 long fields stored before string data instead of 1 might be significant obstacle for 2 kB RAM, so that's one example pitfall.

Has anyone seen sds use in embedded environment?

@DBJDBJ
Copy link

DBJDBJ commented Nov 28, 2021

There is only one pitty_fall, heap can not be used. Most of the time.

@nathanrpage97
Copy link

I'm working on a buffer version SBS (no heap usage), still in early stages. I'm not as familiar on how embedable it is, but it should definitely be easier to embed than SDS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants