C Mania: New C and Objective C Bindings For KDE
Dre writes: "Richard Dale
recently
announced
that he has committed C bindings for the KDE3/Qt3 libraries to
KDE's CVS.
According to him, "The bindings wrap about
800 classes [and] 13,000 methods, with 200k [lines of code] of C/C++
generated." The same tool used to generate these C bindings
can also generate Objective C and Java bindings, and Richard hopes to be
able to consolidate the generation of these
various
KDE bindings (Java/Objective C/C)
with one tool. In addition, pending the resolution of a dynamic linking problem with the Objective C bindings, both C and Objective C bindings
for KDE 2.2.x/Qt 2.3.x will also be available from KDE CVS."
Props to Earl from the old Nexabit gang!
They dumbed down KDE's code enough for you to hack on it. ;-)
Don't get me wrong - I'm no great fan of ObjC (anything that pretends to be a "modern" language and relies on reference counting for "garbage collection is, well, that's a whole nother thread of its own) or Java (better than a poke in the eye with a sharp stick, but it likes monolithic hierarchies too much for its own good). But what strikes me is the prospect of Cocoa applications that make use of KDE "applications" as components. Yowza! Need a calculator in your app? Drop in KDEcalc.
Where's KDEmacs when you need it? :-)
(and before people start screaming about how both Cocoa and KDE would like to control the main event loop, I'll just say "threads" and shut up).
-----
Klactovedestene!