4 ms·
It has potential, but the documentation is full of TODO, so it's hard to say much about it. For example, I was trying to figure out how it handles unicode, and
by ktRolster 10y ago
It has potential, but the documentation is full of TODO, so it's hard to say much about it. For example, I was trying to figure out how it handles unicode, and also how it handles memory management.
For comparison, ribs2 ( https://github.com/Adaptv/ribs2 https://github.com/Adaptv/ribs2 ) is a framework in C that handles garbage collection for you. But it's not really a comparison because Balde doesn't have the documentation, unfortunately.
- rafaelmartins 10y agoyes, it lacks documentation, I started this blog post series to try to address this: https://rgm.io/post/balde-internals-part1-foundations/ https://rgm.io/post/balde-internals-part1-foundations/ if you have some specific question, feel free to ask
- ktRolster 10y agoSo, how does it handle memory allocation? Are there memory pools?
- rafaelmartins 10y agoas it is a microframework, it does not cares about such details, you can handle memory allocation by hand, or use memory pools provided by glib, create gobjects and use refcount, etc. It is up to you :) Internally used memory should be free'd manually with the balde_app_free function. it encapsulates most of it for you.
- ktRolster 10y agoThat actually helps me have a better understanding of how the framework is structured, thanks.