Re: interested in gtk+ project development
- From: Jaroslav Šmíd <jardasmid gmail com>
- To: Patrick Noble <pnob32 gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: interested in gtk+ project development
- Date: Sat, 19 Feb 2011 00:56:18 +0100
If you are currently learning C, please, learn the difference between
size_t, int and long - some of glib/GTK devs didn't and because of that
they use int in places where size_t is more appropriate. For example
g_application_open() - quite new API and they had to mess it up by using
(g)int instead of size_t. Or they can do magic and even on system with
sizeof(size_t) < sizeof(int) they actually can manipulate with objects
impossible to allocate (although I don't know of such system, but C
standard doesn't forbid it). On the other hand, on systems with
sizeof(size_t) > sizeof(int), they limit you. Moreover, they force you
to do ugly things, such as having to typecast result of sizeof operator
to int and check boundaries to make sure you got it right and it didn't
overflow 20 times.
(Sorry, I just had to, it's really annoying when such API appears and
cannot be fixed because of ABI incompatible change).
On 02/16/2011 05:47 AM, Patrick Noble wrote:
Hey All,
My names Patrick Noble, and was hoping for a few pointers... I am interested
in learning about and helping out in a development project such as Glade or
GTK+, and was wondering if my experience level makes this pointless. I am
currently learning through C, and am fairly confident in its main structure
and common built in functions. I also have experience working with the gooey
GUI builder of glade, although I have almost no knowledge of GTK+
programming. Any advice as far as skills I should look into or places I
could help out?
thanks
PNoble
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]