Re: [Vala] Adding support for C++



I have been playing with qml lately,. And a bit of c++qt.. 

The thing is that in qt they reimplement many stuff and creates a very similar feature set of things which 
should be handled by the language and not the framework.

Those things are just the same cases as in glib: properties, signals, slots, basic data types, basic data 
structures...

I think that c++ is ugly and ubercomplicated.. So having the possibility to use it from vala can be a good 
thing.

I would like to exten thr request to support objective-c too. Its a nice language (with properties,lambdas, 
introspection..) but its syntax sucks a bit.

Having the possibility to create objc code from vala will open the doors to many developers to access new 
platforms like gnustep, iOS or OSX from the Vala language.

The bad thing of this is that this will make the core of libvala mpre complex..

People tend to delegate the task of code generation to 3rd party ptojects.. There's maja which generates 
javasctipt an there was a objc code generator valac fork somewhere on the internets.. But its actually 
deprecated.

We can also think of valadoc and gtkaml as other projects changing the code generator foo to spit !c code.

The problem in this approach is that those projects are not usually as mainained as Vala and get borken soon. 
( valadoc doesnt works with latest vala releases )

My 5c

On 16/06/2011, at 11:57, "Dr. Michael Lauer" <mickey vanille-media de> wrote:

Hi Sepehr,

yes, C++ support would be awesome. I'd like to see that as
well, in particular since I have some Qt code that I'd like to
spice up with Vala code. Unfortunately it needs quite complicated
forwarders / glue code, if you want to e.g. bind signals/slots and QML.

I'd definitely be interested to help, if someone wants to take the wheel.

Cheers,

:M:

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]