Skip to content

Gnome bindings discussions

Wednesday, 19 July 2006  |  richard dale

I thought the discussion on the Gnome developer list about C vs C# vs Python etc for writing desktop apps was very interesting. A lot of it could equally well apply to the KDE project.

One comment caught my eye:

In a way, yes - if we didn't have the original GNOME desktop and libraries written in C we could have had so many language bindings in the first place? How many language bindings exist for KDE that didn't first have to present a C API to enable the binding...

See here

The answer is that there are no KDE bindings that have to present a C api, and the ease of writing C vs C++ bindings for OO languages is something of a myth. Instead we a have a single autogenerated library 'Smoke' which can be used for Perl, Ruby, C#, PHP and others. In turn the Kimono C# binding will enable CLR languages such as Iron Python, Nermerle etc with no extra work.