Skip to content

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

Open

Description

@psprint

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?

Activity

  1. DBJDBJ commented on Nov 28, 2021

    @DBJDBJ

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

  2. nathanrpage97 commented on May 15, 2022

    @nathanrpage97

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions