Gnome's object oriented C variant

Arc Riley arcriley at gmail.com
Sun Mar 22 17:04:16 EDT 2009


So KDE use C++
OSX uses Objective C
Windows uses C#

and Gnome is increasingly using their own language called Vala.

Vala (.vala) code is processed to C for compiling using GObject (part of
glib) for the object-oriented bits.  You can use GObject in C directly (much
of Gnome still does) but the amount of boilerplate code needed is..
intimidating.  The C code Vala outputs is pretty similar to what you'd write
in C while being much cleaner to edit as .vala.

Unlike C++, C#, and Objective C, there's no runtime dependencies beside
glib/gobject.  Much of Gnome is still pure C but many sub-projects have been
moving to Vala to make Gnome easier to work on.

Thought people on the list may find this interesting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20090322/6ee40c71/attachment.html 


More information about the gnhlug-discuss mailing list