I have been using GLib professionally for over 6 years and have nothing but praise for it. It is very lightweight, with many useful utilities such as lists, hash tables, rand functions, io libraries, streams / mutexes / conventions, and even GObject. Everything is done in a portable way. In fact, we compiled the same GLib code for Windows, OSX, Linux, Solaris, iOS, Android and Arm-Linux without any icons on the GLib side.
In terms of obsession, I definitely “bought in g,” and there is no doubt that it was extremely useful for creating stable portable code at high speed. Perhaps specifically when it comes to writing advanced tests.
And if g_malloc is not suitable for your purpose, just use malloc instead, which, of course, is suitable for everything.
Havard Graff Jul 04 '13 at 9:36 on 2013-07-04 09:36
source share