[9245] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] Re: Why is gtk+ written in C?

daemon@ATHENA.MIT.EDU (Brandon Long)
Tue Oct 13 14:27:43 1998

Date: Tue, 13 Oct 1998 11:25:27 -0700
From: Brandon Long <blong@fiction.net>
To: gtk-list@redhat.com
Reply-To: blong@fiction.net
Mail-Followup-To: gtk-list@redhat.com
In-Reply-To: <19981013181407.21220.rocketmail@send1d.yahoomail.com>; from Eric Harlow on Tue, Oct 13, 1998 at 11:14:07AM -0700
Resent-From: gtk-list@redhat.com

On 10/13/98 Eric Harlow uttered the following other thing:
> 
> Isn't C++ portable? 
> Couldn't GTK have been written C++ with bindings to other languages? 

Under Unix?  Not really.  Until recently, C++ wasn't standardized, and
as such, different compilers provide different levels of
compatibility.  Its been said that each version of g++ is broken in
different ways.  Recall that gcc is a cathedral project, and the rate of
change is rather slow.

Most languages provide for binding interfaces using C, and I imagine
that languages without objects would be hard to bind to C++.  Also, the
object model of C++ is rather limited in some ways, which would make
binding to other object models more difficult.

Brandon
-- 
 Brandon Long       "Support bacteria - they're the only culture some 
 Fiction Networks            people have"         -- Steven Wright
 blong@fiction.net		  http://www.fiction.net/blong/

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


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