-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use glib as base library #237
Comments
@mgautierfr I agree with the principle idea to rely on a well established base lib. I have a few questions:
|
Not directly, but the algorithm is pretty simple: Normalize using a decomposed form, remove accent chars.
The ones I've listed. (See https://developer.gnome.org/glib/stable/glib-building.html)
Hopefully not so much (if everything is good with next question). We can start to compile glib on the CI and slowly move our code base to glib.
I don't know. Linux, Windows and mac platform should be ok. As the different archs.
Because I've not investigate boost :) But C has an advantage : C abi is standardize, it allows us to link to the lib whatever the compiler used to compile the lib and the binary (as opposite to c++ which need that the same compile is used)
No clue at all. We need to test. |
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
One thing we need as well is something to parse HTTP header properly, see kiwix/kiwix-tools#148. Boost provides one, but not glib AFAIK. |
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
@mgautierfr @veloman-yunkan I think after 4 years a refresh of this ticket would be beneficial. |
This is a open question. I wonder if ... I'm not sure we have to do it. But I open the issue to discuss about this.
This issue is related to almost all our projects but I have to open the issue somewhere.
glib (https://developer.gnome.org/glib/stable/) is the low level library of the gnome project.
While it is in the gnome project, it is not related at all with graphic/ui (handle by gdk, gtk, clutter, ...).
The thing is that glib provide a lot of functionality we use/need (in parenthesis, the library or code we have) :
The compilation system of glib is meson. We already have everything we need on our side to compile it. glib depends on few other libraries:
By using glib, we could remove the use of other dependencies (icu and all the icu data file manipulation, e2fsprogs, gtest) and almost all our "tools" code.
We would also be (more) platform independent using well established library instead of our (probably buggy) code.
The text was updated successfully, but these errors were encountered: