* GLib
@ 2011-05-15 16:36 Zganyaiko Dmitry
2011-05-15 17:38 ` GLib Ævar Arnfjörð Bjarmason
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Zganyaiko Dmitry @ 2011-05-15 16:36 UTC (permalink / raw)
To: git
Hi all!
My question is very simple:
why git doesn't use glib as base C framework? For example, in git there
are xmalloc, xrealloc functions that duplicates glib functionality, and
these routines are only small piece of all duplicated code that already
exists in glib.
So, why git was designed and is developing now without mature stable C
library like glib?
Best regards,
Dmitry.
P.S.
My question is not a joke or smth like that. It's really interesting for
me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GLib
2011-05-15 16:36 GLib Zganyaiko Dmitry
@ 2011-05-15 17:38 ` Ævar Arnfjörð Bjarmason
2011-05-15 18:06 ` GLib Jakub Narebski
2011-05-15 19:41 ` GLib Enrico Weigelt
2 siblings, 0 replies; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-05-15 17:38 UTC (permalink / raw)
To: Zganyaiko Dmitry; +Cc: git
On Sun, May 15, 2011 at 18:36, Zganyaiko Dmitry <zdo.str@gmail.com> wrote:
> So, why git was designed and is developing now without mature stable C
> library like glib?
Initially because it wasn't written by the sort of people who use big
C libraries when they need some relatively small functionality.
Nowadays because nobody has proposed a patch to use glib instead of
our own toolkit, and even if someone did it might be rejected.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GLib
2011-05-15 16:36 GLib Zganyaiko Dmitry
2011-05-15 17:38 ` GLib Ævar Arnfjörð Bjarmason
@ 2011-05-15 18:06 ` Jakub Narebski
2011-05-15 19:41 ` GLib Enrico Weigelt
2 siblings, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2011-05-15 18:06 UTC (permalink / raw)
To: Zganyaiko Dmitry; +Cc: git
Zganyaiko Dmitry <zdo.str@gmail.com> writes:
> My question is very simple:
> why git doesn't use glib as base C framework? For example, in git there
> are xmalloc, xrealloc functions that duplicates glib functionality, and
> these routines are only small piece of all duplicated code that already
> exists in glib.
>
> So, why git was designed and is developing now without mature stable C
> library like glib?
Note that git is very performance conscious. For example a while ago
some of git commands were split off from /usr/libexec/git-core/git so
that only those need to link against libcurl (if I remember it
correctly).
Besides it all started very simple, with a few wrappers: git
developers thought that requiring GLib is overkill for those few
wrappers. strbuf, parseopt etc. it all came later.
At least it is what I think (what I guess).
BTW how portable GLib is?
--
Jakub Narebski
Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GLib
2011-05-15 16:36 GLib Zganyaiko Dmitry
2011-05-15 17:38 ` GLib Ævar Arnfjörð Bjarmason
2011-05-15 18:06 ` GLib Jakub Narebski
@ 2011-05-15 19:41 ` Enrico Weigelt
2 siblings, 0 replies; 4+ messages in thread
From: Enrico Weigelt @ 2011-05-15 19:41 UTC (permalink / raw)
To: git
* Zganyaiko Dmitry <zdo.str@gmail.com> wrote:
> So, why git was designed and is developing now without mature stable C
> library like glib?
glib and mature stable ?
*lol*, joke of the day ...
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-24 4:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15 16:36 GLib Zganyaiko Dmitry
2011-05-15 17:38 ` GLib Ævar Arnfjörð Bjarmason
2011-05-15 18:06 ` GLib Jakub Narebski
2011-05-15 19:41 ` GLib Enrico Weigelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).