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:
- What is the use case of a C++ binding? i.e. what should the binding offer that the C code does not?
- 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.
- 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.
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:
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.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.