[Moved] Anything like Gnome’s Vala for Qt? (C#-like language)
Does there exist something like Gnome's Vala project for Qt?
For those who are unfamiliar with it, Vala is a C#-like language that safely "compiles" to native C/GObject code. The idea being that C# is an easier language for new users to get productive with.
Missed the language bindings forum. Thanks for the move.
I was under the impression the reason Vala (and Genie) exists is because of the amount of boilerplate code you need to write object oriented gtk+ code in C.
Since Qt is c++ based and already has support for OO at the language level it's not as much of an issue.
I was unaware of Genie. Very interesting.
It may be that Qt's C++ reduces the sheer amount of boilerplate code, but the cleaner syntax of both of those projects would be huge win for new Qt users.
If anything, I imagine that Qt's C++ base would make such a project easier.
I think such a project would really struggle to find a niche in a Qt world. The Qt MOC (Meta Object Compiler) is already a code generator which adds a lot of niceness to C++.
In the gtk+/gnome world Vala et al were (in my opinion) desperately needed as they solved a real problem. I'd hate to imagine trying to write something like Shotwell in plain gobject C! :-S
That's a good point. I agree that the need is way less obvious here.
But, even with the MOC, Qt's C++ syntax can't be as easy as Genie's python-esque style. (Python bindings don't count...)
That's pretty nifty. Definitely a cool project to try. Although, I'm less interested in QML until the released version can be used to build standard desktop applications.
- It complicates the architecture a lot
- Little or no gains, at the cost of confusion for end users
- Efforts better directed to maturing QML as it is
- Performance critical part of QML; adding another layer of indirection is undesireable
- JSON like syntax of QML doesn't nessecairaly play nice with languages like Python
So: forget it. It is not going to happen.
I think there is a project named Qyoto which adds C# support to Qt...
There is also Qt Jambi, if someone likes Java ;)