You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been toying with converting part of this project to a C++ library with some level of useful abstractions (constructors instead of alloc() fns, vectors for most memory management or another RAII container, etc.), and it seems to me that a large portion of this project is just memory management like init this, free this, retrieve this item from this struct, etc.
Do you care if I attempt to do this, and what part(s) of this project would be relatively self-contained enough to enable me to have it actually build the examples when finished?
My architecture idea for this type of thing is quite simply Algorithms and Containers per Klaus Iglberger's talks and books, it is the architecture of the standard library and many boost libraries which importantly features very minimal abstraction, only useful abstractions and typically for RAII purposes or to encapsulate some data. It does use classes, though they are usually limited to encapsulating some buffer/array or something to force updates to it to go through the class.
I don't believe I have the knowledge to update the many different language bindings part of the project, so it could be much smaller
.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been toying with converting part of this project to a C++ library with some level of useful abstractions (constructors instead of alloc() fns, vectors for most memory management or another RAII container, etc.), and it seems to me that a large portion of this project is just memory management like init this, free this, retrieve this item from this struct, etc.
Do you care if I attempt to do this, and what part(s) of this project would be relatively self-contained enough to enable me to have it actually build the examples when finished?
My architecture idea for this type of thing is quite simply Algorithms and Containers per Klaus Iglberger's talks and books, it is the architecture of the standard library and many boost libraries which importantly features very minimal abstraction, only useful abstractions and typically for RAII purposes or to encapsulate some data. It does use classes, though they are usually limited to encapsulating some buffer/array or something to force updates to it to go through the class.
I don't believe I have the knowledge to update the many different language bindings part of the project, so it could be much smaller
.
Beta Was this translation helpful? Give feedback.
All reactions