Linked by Quentin Hartman on Mon 14th Jul 2008 08:46 UTC, submitted by makkus
Thread beginning with comment 322824
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: private structure fields
by sanctus on Mon 14th Jul 2008 15:03
in reply to "RE[2]: private structure fields"
RE[4]: private structure fields
by YEPHENAS on Mon 14th Jul 2008 15:23
in reply to "RE[3]: private structure fields"
is Qt not bind to Cocoa on OS X? Never tried, but isn't possible to code OS X application in C,C++ or Obj-C in xcode?
With pure C you can code Carbon applications, but Carbon is outdated. Then there is Objective C++: most of your program will be C++ but the Cocoa calls will be with the Smalltalk-like "Objective-syntax". Perhaps that's what Qt does. The Java bindings had difficulties mapping Cocoa to Java and are abandoned now. And even Ruby or Python bindings look strange, like: myObject.setValue_forKey_(u"foo", u"bar")
Edited 2008-07-14 15:24 UTC
RE[3]: private structure fields
by YEPHENAS on Mon 14th Jul 2008 15:48
in reply to "RE[2]: private structure fields"
Vala code does not only compile to GObject/C libraries, the compiler also will create interface files for GObjectIntrospection, which can be used for example from Python to bind GObject libraries at runtime:
http://blogs.gnome.org/johan/2007/11/30/future-of-gnome-language-bi...






Member since:
2008-07-14
With Objective C it would not be easy to have bindings for static typed languages. Also the Smalltalk-style syntax doesn't map very well to most other languages.
I think GTK+ 3.0 should be implemented in Vala (at least partially). It's designed for the GObject type system and results in the same ABI as C libraries.