Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 







Current Newswire:

Open source means freedom from 'anti-features'

GTalX - Google Voice Chat has arrived in Ubuntu 9.10 (Karmic)

Top 10 Super Bowl tech ads

OOXML not suitable for Norwegian government, says study

Add Cloud Storage to OpenOffice.org with SMECloud

10 Ways that Enterprises use Linux

SECURITY: A sensation of wonder about technological developments

HTML5 Theora Video Codec for Silverlight

SourceForge turns off "blanket blocking"

Home, Events, and Ubuntu




Senior Linux Administrator - Red Hat (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume
:The Multilingual Gnome
The Multilingual Gnome
May 28, 1999, 15 :36 UTC (43 Talkback[s]) (9984 reads)

(Other stories by Guillaume Laurent)

By Guillaume Laurent

In a recent interview with the BBC, Miguel de Icaza, the Gnome project leader, made the assertion that KDE has no future because it is tied to one language (C++) while Gnome isn't.

As one of the maintainers of Gtk--, (C++ bindings to GTK+ and the Gnome libs), I'd like to add a few comments.

Miguel seems to imply that Gnome not being tied to a particular language is a great advantage, and nothing else. While nobody would dispute it is an advantage, I wish to show that there are also some drawbacks to this, which certainly can't be ignored.

The first drawback is that a binding is another layer of code. I don't mean performance issues, as the overhead is in most cases negligible as far as the user is concerned. I mean another layer which needs to be debugged, documented, and maintained in sync with the library being wrapped.

As such, each language binding is in itself a small OSS project. While it can be kept alive if properly maintained, for whatever reason it can also stop being so, or suffer extensive delays with regard to the library it wraps. Rather than being the exception, this is so common that the gut feeling of a potential developer in front of a language binding is "it will always miss something". As one of the Gtk-- maintainers, I've experienced this reaction many times.

Another drawback is that a language binding may just plain suck or at least displease the developer who would like to develop an application using that language. There is no one true way to wrap a C library in another language, so another developer might be tempted to create his own. As such, there are three C++ wrappers for GTK+ (VDK, wxWindows, and Gtk--), and two Objective-C ones (see the GTK+ homepage). In the case of a Gnome app, Gtk-- is currently the only wrapper also providing bindings for the Gnome libs (although they are far from complete). But given the direction VDK is taking, it would be logical for them to eventually provide such bindings as well. And already, a developer who wants to write a C++ application with GTK+ has first to decide which one of the wrappers he'll use.

For the developer using it, a language binding is also another layer which his code depends on, another library to install and maintain on his machine, another potential source of bugs and another thing to learn. Even if the translation from the library to the wrapper is merely syntactic, a wrapper will always have its own features, taking advantage of those of the language it's based on.

Because of all this, it would be very impractical to develop a major Gnome application in an "exotic" language because such an application can't afford the dependency on that language, and the whole environment it requires (native libraries, bindings and such). Miguel himself admitted to this with his comment that ended his proposal for a Gnome mail client : "Bertrand has been working in such a beast, perhaps we can reuse some of his code. I am just a bit concerned that the implementation is in Objective-C, which means that people need an Objective-C compiler on their system to compile it."

Of course, this also implies that, for a user to run it, he would need the Objective-C runtime environment to be installed. While all Linux distributions provide it (it's a part of gcc), on other Unices that means installing gcc itself.

That's also one more set of libraries to be loaded along with the application when it's run. Should several important ones be written in different languages, the impact on the resources would be quite significant.

A language binding is certainly another open door for a developer to participate in Gnome. But if he chooses that path, it's also another point of potential failure and another constraint on both him and the end user. These added requirements add a heavy counterweight to the advantages. As a result, Gnome is de facto "tied" to C just like KDE is "tied" to C++ : In both cases, other languages can be used, but chances are that no big application will use them.

Guillame Laurent writes: " I've been using Linux since late 1995. The first OSS project I was involved with was Rosegarden then Gtk-- (since mid '97 I think). You can take a peek at my homepage for more details...

Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
I really enjoyed reading this. It was we ...   This is good   
David
May 28, 1999, 16:25:32
 
I'm not totally sure, but doesn' ...   what about gnumeric?   
Phil Fraering
May 28, 1999, 16:27:51
 
I personally want to do pygnome programm ...   Good points - good counter hype   
Tom Corbin
May 28, 1999, 16:29:18
 
Is it reasonable to eventually merge Qt  ...   Some thinking and questions   
Jacques Pelletier
May 28, 1999, 17:29:53
 
I don't think the arguments here sho ...   Re: Good points - good counter hype   
Adam
May 28, 1999, 17:32:48
 
KDE/QT have several other bindings besid ...   Miguel was wrong anyway!   
Steve Wilson
May 28, 1999, 17:38:09
 
I'll admit up front that I've no ...   When does flexibility become bloatware?   
Daryl L. Biberdorf
May 28, 1999, 17:48:47
 
I think Guillaume and the Gtk-- guys may ...   More true of C++ than anything else   
Havoc Pennington
May 28, 1999, 18:22:10
 
Why not go back to the basics, use Assem ...   Try Assembly   
Tom
May 28, 1999, 18:26:26
 
For the record, I'm not a GNOME cont ...   Re: Good points - good counter hype   
Robert
May 28, 1999, 18:47:44
 

I actually objected to Miguql de Icaza& ...   Fair Enough--Long Live GTK   
Matt Benjamin
May 28, 1999, 19:05:47
 
Multilanguage support is one of the reas ...   What about CORBA?   
Stan Dard
May 28, 1999, 19:27:11
 
I can understand that Miguel wants to se ...   what's the point of 'blackmailing'   
Juergen Hahn
May 28, 1999, 19:51:13
 
Doesn't SWIG support wrapping C++ li ...   Re: Re: Good points - good counter hype   
Roberto Alsina
May 28, 1999, 20:09:21
 
There is some truth to what he says, but ...   Still...   
Chris Arguin
May 29, 1999, 00:19:32
 
About the "thinness" of Gtk-- : 

Yes, a ...   General reply   
Guillaume Laurent
May 29, 1999, 06:48:22
 
Another point when talking about the Gno ...   Sound points but flexibility also important   
Preben Randhol
May 29, 1999, 08:27:06
 
While it may be a worthwhile game to dis ...   Regarding perspectives   
Paul Seelig
May 29, 1999, 09:27:31
 
The article is well written. Miguel has  ...   Good Article   
S.Ramaswamy
May 29, 1999, 10:10:12
 
Mr Laurent,

No - you didn't say KDE ...   Re: Mr Laurent's General reply   
Steve Wilson
May 29, 1999, 10:46:29
 
For those of you who think that Miguel w ...   Miguel's comments   
J. J. Ramsey
May 29, 1999, 15:43:40
 

I have now lost track of the large numb ...   Miguel is a FUD Machine   
Bryan Brunton
May 29, 1999, 15:49:30
 
Of course, more language bindings only a ...   Obviously....   
Iserlohn
May 29, 1999, 17:52:12
 
I am the author of the pygtk GTK binding ...   My thoughts as a language binding author...   
James Henstridge
May 30, 1999, 03:20:16
 
Hi,

I am the gnome messaging library au ...   Miguel was right : libaries must still be written   
Bertrand
May 30, 1999, 07:01:26
 
If the Halloween papers are to be believ ...   Can't we just all get along?   
Steve Poling
May 30, 1999, 15:39:09
 
Yes a lot of Gnome users and developers  ...   Re: Miguel's comments   
Garm
May 31, 1999, 07:31:16
 
It would also be nicer if folk did not d ...   re: Garm: On the subject of civility   
Charles Hixson
May 31, 1999, 13:10:19
 
i will code gnome-logo to complete the a ...   Gnome-logo   
Serena Del Bianco
Jun 1, 1999, 09:13:39
 
good post Steve Poling! ...   Re: Can't we just all get along?   
brian
Jun 1, 1999, 19:08:00
 
Things would probably be a lot ahppier i ...   method of explanation   
Kat
Jun 2, 1999, 11:34:50
 
Well. Allow me to hype Gnome. It does ha ...   Re: method of explanation   
anonymous
Jun 2, 1999, 22:32:43
 
The Qt C++ library is not purely a libra ...   C++ was never the problem with KDE.   
Colin Leister
Jun 3, 1999, 00:30:12
 
Sorry, but what you say is simply not tr ...   Re: C++ was never the problem with KDE.   
Roberto Alsina
Jun 3, 1999, 14:27:17
 
KDE does do CORBA in release 2 and it wi ...   Re: What about CORBA?   
Tim
Jun 4, 1999, 11:14:55
 
Although technically speaking, Roberto i ...   Re: Re: C++ was never the problem with KDE.   
Colin Leister
Jun 4, 1999, 23:16:26
 
I don't know why people (and now eve ...   Re: GTK-- is thin??   
Greg ÉRDI
Jun 5, 1999, 13:17:29
 
Hmm... there are some holes in your argu ...   Re: moc   
David Watson
Jun 5, 1999, 13:21:05
 
C++ is a SUPERSET of C, therefore contai ...   KDE/C++ is superior   
Jason Kwan
Jun 13, 1999, 12:51:01
 
One can wonder if OO is such a good thin ...   Are OO so good after all?   
bln
Jun 26, 1999, 06:29:13
 
> One can wonder if OO is such a good th ...   RE: Are OO so good after all ?   
Guillaume Laurent
Jun 29, 1999, 10:34:02
 
I have a P133 machine with windows95.
Ab ...   vdk failure   
Jim Oosterhuis
Sep 11, 1999, 09:13:58
 
I also like both gnome and kde so I am v ...   wxWindows a wrapper for GTK ??   
Curtis Veit
Apr 24, 2000, 22:39:42
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers