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



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/



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