From: Jakub Narebski <jnareb@gmail.com>
To: Zganyaiko Dmitry <zdo.str@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: GLib
Date: Sun, 15 May 2011 11:06:25 -0700 (PDT) [thread overview]
Message-ID: <m3aaen3klg.fsf@localhost.localdomain> (raw)
In-Reply-To: <1305477377.3612.5.camel@mamburu>
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
next prev parent reply other threads:[~2011-05-15 18:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2011-05-15 19:41 ` GLib Enrico Weigelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3aaen3klg.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=zdo.str@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).