[9317] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Was : Why is gtk+ written in C? - now : Quick Rant

daemon@ATHENA.MIT.EDU (James Bailie)
Thu Oct 15 01:52:12 1998

From: James Bailie <jbailie@wwdc.com>
To: gtk-list@redhat.com
In-Reply-To: Your message of "Wed, 14 Oct 1998 11:21:04 BST."
             <H0000c420dc6a2d6@MHS> 
Date: Thu, 15 Oct 1998 01:43:34 -0400
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

julian.gosnell@nomura.co.uk writes:

>In conclusion, ANSI C is a subset of C++. Stick to this subset and it will
>cost you no more than C itself. Take advantage of C++'s extra features where
>appropriate and you pay a corresponding price. If you think that you can
>provide similar features in a C program for less cost than C++ can, please
>submit them to the C++ community - I'm sure they would be delighted to
>consider your optimisations.

Finally, the voice of reason. C++ gives one extraordinary power if one is a
competent designer, and can afford to let go of absolute efficiency. If you're
writing a kernel, or an important library, like Gtk+, that's another matter,
but for most of app writers C++ is a boon.  The argument that goes, "I found
it difficult," is not a criticism of the language at all, is it? 

C being the lingua franca of programming languages, a Gtk+ written in C is the
most widely useful and most efficient way to go.

--
James Bailie

http://www.wwdc.com/~jbailie

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post