Skip to content

Revisiting the Intent of This Project #21

@stachurr

Description

@stachurr

Hello all,

I see many discussions about the caveats of this project (object lifetime, ownership, parsing LVGL, etc.), but no real discussion on the purpose/intent of this project. I also see that most attempts have died or gone stale. I think there are some things we should discuss before tackling this, such as:

  1. What is the use case of a C++ binding? i.e. what should the binding offer that the C code does not?
  2. Should the C++ objects to take ownership of the underlying lv_*_t? Or should they simply be containers which let you interact with the underlying object (no memory management)? The latter would essentially be object-oriented syntactic sugar.
  3. Should C++ memory management (new/delete) replace the existing management methods?

I think after some of these questions are answered, we can begin to look at details.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions