{"thread":{"id":"27360","subject":"GLib","startedAt":"2011-05-15T16:36:17Z","lastAt":"2011-05-15T19:41:06Z","messageCount":4,"participants":["Zganyaiko Dmitry","Ævar Arnfjörð Bjarmason","Jakub Narebski","Enrico Weigelt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"167897","messageId":"1305477377.3612.5.camel@mamburu","threadId":"27360","inReplyTo":null,"subject":"GLib","fromName":"Zganyaiko Dmitry","fromEmail":"zdo.str@gmail.com","sentAt":"2011-05-15T16:36:17Z","receivedAt":"2011-05-15T16:36:17Z","isPatch":false,"sender":{"key":"zdo.str@gmail.com","avatar":null},"body":"Hi all!\nMy question is very simple:\nwhy git doesn't use glib as base C framework? For example, in git there\nare xmalloc, xrealloc functions that duplicates glib functionality, and\nthese routines are only small piece of all duplicated code that already\nexists in glib.\n\nSo, why git was designed and is developing now without mature stable C\nlibrary like glib?\n\nBest regards,\nDmitry.\n\nP.S.\nMy question is not a joke or smth like that. It's really interesting for\nme.\n"},{"id":"167899","messageId":"BANLkTik4ap_oBhWo4f-SQ6gKmgu98AELZw@mail.gmail.com","threadId":"27360","inReplyTo":"1305477377.3612.5.camel@mamburu","subject":"Re: GLib","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2011-05-15T17:38:40Z","receivedAt":"2011-05-15T17:38:40Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Sun, May 15, 2011 at 18:36, Zganyaiko Dmitry <zdo.str@gmail.com> wrote:\n\n> So, why git was designed and is developing now without mature stable C\n> library like glib?\n\nInitially because it wasn't written by the sort of people who use big\nC libraries when they need some relatively small functionality.\n\nNowadays because nobody has proposed a patch to use glib instead of\nour own toolkit, and even if someone did it might be rejected.\n"},{"id":"167901","messageId":"m3aaen3klg.fsf@localhost.localdomain","threadId":"27360","inReplyTo":"1305477377.3612.5.camel@mamburu","subject":"Re: GLib","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2011-05-15T18:06:25Z","receivedAt":"2011-05-15T18:06:25Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Zganyaiko Dmitry <zdo.str@gmail.com> writes:\n\n> My question is very simple:\n> why git doesn't use glib as base C framework? For example, in git there\n> are xmalloc, xrealloc functions that duplicates glib functionality, and\n> these routines are only small piece of all duplicated code that already\n> exists in glib.\n> \n> So, why git was designed and is developing now without mature stable C\n> library like glib?\n\nNote that git is very performance conscious.  For example a while ago\nsome of git commands were split off from /usr/libexec/git-core/git so\nthat only those need to link against libcurl (if I remember it\ncorrectly).\n\nBesides it all started very simple, with a few wrappers: git\ndevelopers thought that requiring GLib is overkill for those few\nwrappers.  strbuf, parseopt etc. it all came later.\n\nAt least it is what I think (what I guess).\n\n\nBTW how portable GLib is?\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"171911","messageId":"20110515194106.GE24644@nibiru.local","threadId":"27360","inReplyTo":"1305477377.3612.5.camel@mamburu","subject":"Re: GLib","fromName":"Enrico Weigelt","fromEmail":"weigelt@metux.de","sentAt":"2011-05-15T19:41:06Z","receivedAt":"2011-05-15T19:41:06Z","isPatch":false,"sender":{"key":"weigelt@metux.de","avatar":null},"body":"* Zganyaiko Dmitry <zdo.str@gmail.com> wrote:\n\n> So, why git was designed and is developing now without mature stable C\n> library like glib?\n\nglib and mature stable ?\n\n*lol*, joke of the day ...\n\n\ncu\n-- \n----------------------------------------------------------------------\n Enrico Weigelt, metux IT service -- http://www.metux.de/\n\n phone:  +49 36207 519931  email: weigelt@metux.de\n mobile: +49 151 27565287  icq:   210169427         skype: nekrad666\n----------------------------------------------------------------------\n Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme\n----------------------------------------------------------------------\n"}]}