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

Re: gEDA-user: gEDA programming



On Apr 23, 2010, at 9:25 AM, Peter Clifton wrote:
I think the trick is to use rich APIs such as GLib - rather than
exclusively using the string.h, stdlib.h stuff provided in the C
standard.

The GLib routines take care of a lot of memory management relating to
strings, and make like a lot easier (and the code more readable). There
is nothing worse than an "optimised" parser looping over memory with
constructs like if (*i++ == '(') ... or some such.

  Is this why GTK apps tend to be so unbelievably bloated?

I mean, I see (and like!) the value of such an approach, but surely you see the disadvantage.

            -Dave

--
Dave McGuire
Port Charlotte, FL



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user