Re: GLib???



Michal Burda wrote:
> Hello everybody!
> 
> I'm new on this forum and I have one question?
> Can anybody help me?
> I would like to know, what is GLib for? Why its programmers
> created so many functions which are available in standard GNU C
> Library? Isn't it better to use standard C functions instead of
> these GLib ones (because of portability)?
> 
> Can anybody explain me the meaning of GLib existence?
> 

Not everybody is using glibc. It is not practical, appropriate
or possible to use glibc on many platforms: i.e. not everyone
is running Linux on an x86 machine, not everyone can persuade
their sys admins to make an alternative C library readily
available, etc. Anyway, GLib tends to wrap the C library calls
up in sanity checks and stuff, reducing the coding tasks for us,
the GTK programmers.

And another thing, glibc (or any othe C library) doesn't include
the rich string/array/datalist functions that GLib provides.

-Andy

-- 
Andy Walker                              Kvaerner Oil & Gas a.s.
andy@lysaker.kvaerner.no                 P.O. Box 222,
Andrew.Walker@kvaerner.com               N-1324 Lysaker, Norway

   ......if the answer isn't violence, neither is your silence......




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]