Originally posted by unix_epoch
View Post
Announcement
Collapse
No announcement yet.
Clutter Toolkit 1.0.0 Is Released
Collapse
X
-
-
Regarding Clutter being written in C, it's actually possible to do object-oriented design in C. Gtk+ is OO in C. It's a tiny bit more tedious than in C++, but it works. I'm working on a project now that would be much easier in C++ (and a language with functions as objects would be even easier than that), but it needs to run on an embedded system with limited CPU and memory bandwidth as quickly as possible, so C it is.
IIRC, another reason C++ was avoided in the earlier Linux days was that there wasn't an LGPL-compatible C++ standard library.
Leave a comment:
-
C is the perfect language for Clutter - as has been said, it's dead easy to bind to pretty much any language (there's already C++ and Javascript bindings, and there's probably one for C# too), as well as being fast and compact, and easily portable to other platforms.
As for QML, well, that probably has something similar to Clutter under the hood, and something like Clutter's Seed bindings (which uses Javascript) is probably more similar. You're comparing apples to oranges here.
Leave a comment:
-
If you want to combine any C library with a high-level OO garbage-collected language, you should take a look at Vala. It's a very new language that compiles into plain C code, so you can use C libraries with modern (inefficient ) programming practices.
Leave a comment:
-
Clutter is also intended for low resource devices, many of which cannot support C++.
Leave a comment:
-
Originally posted by StringCheesian View PostC really simplifies bindings for other languages like D, Objective C, etc. Getting alternative languages to link with C++ is complicated.
C++ people could use a C++ wrapper around the C stuff, just like Gtk+ has Gtkmm.
Leave a comment:
-
C really simplifies bindings for other languages like D, Objective C, etc. Getting alternative languages to link with C++ is complicated.
C++ people could use a C++ wrapper around the C stuff, just like Gtk+ has Gtkmm.
Leave a comment:
-
Originally posted by hax0r View Postwho wants C++ anyway except KDE ppl?
Besides that, I was not talking about C++, if you mind to open the link I sent, in Qml you can make an interface without any programming at all, just declaring components, and you can add behavior to it with simple scripting like you would do on HTML for example..
Leave a comment:
-
C is where it's at, clutter is meant for GTK/GNOME, Intel and Rad Hat got their back, who wants C++ anyway except KDE ppl?
Leave a comment:
Leave a comment: