“Richard Dale
recently announced that he has committed C bindings for the KDE3/Qt3 libraries to
KDE’s CVS. Richard generated the C bindings automatically using a hacked kdoc, with relatively little manual intervention. According to him, “The bindings wrap about
800 classes [and] 13,000 methods, with 200k [lines of code] of C/C++
generated.” The same hacked kdoc can also generate Objective C and Java bindings, and Richard hopes to be able to consolidate generation of these various KDE bindings (Java/Objective C/C) with this one tool.” Get the rest of the news at .DOT KDE.
I honestly do not understand why they had to criple the nice QT C++ OOP API, with a non-OOP one. “Offering a choice to C and GTK+ Linux programmers to get converted to KDE” is not a good answer IMNSHO.
my question since i know projects like KDE, GNOME or whatever is. .
why not pascal???
some people say “pascal isn’t for serious programming”. . . ask to the people at Trumpet Software. This company has a operating system totally written in pascal. (http://www.petros-project.com) . . . other people say “pascal languaje has no advanced features like c or c++”. . . the pascal (or his variants like object pascal) languaje has features like function overloading, oop, support for interfaces, etc. . . and quality development tools like borland ones or Free Pascal and GNU pascal (if you prefer an open source choice).. . . so
can you answer to me???
All bindings are separate packages. They don’t cripple or affect anything else. Free choice of computer language is a very basic requirement in an environment such as KDE.
Why not pascal? Well, no language are more “serious” than another, but C and C++ are the “de facto” standards for systems programming (C was created in 1972 by Dennis Ritchie and it became the implementation language for UNIX). AFAIK the added portability was not actually something they had planned 🙂 Now, C++ are slowly taking over (finding ways to automaticly create C bindings to C++, a stable ABI on gcc and improvements in the standard library will only accelerate that). As for serious software, the TeX typesetting was written in Pascal (actually the WEB system) by Donald Knuth (purely for practical reasons), so C’s popularity is more a matter of tradition and strong connection to UNIX. And the more a compiler is used for systems programming, it’s only natural that it’s optimized more 🙂 Well, my own view is that pascal and delphi are “mickey mouse” programming languages compared to C++ (performance stuff) and Scheme/LISP (creative stuff).