To view parent comment, click here.
To read all comments associated with this story, please click here.
Use GCJ and remove the need for the JVM?
Vala generates C code.
The first implementation of C++, C with classes did that. I find it hard to see how such a thing could be beneficial?
Vala also is specifically geared towards the GObject system of GNOME. Vala gives you a fast, low overhead language with OO features that integrates nicely with GNOME. Neither Java nor C# does that.
GObject is a hack that allows some semblance of object oriented programming in C. In a true object oriented library, it's no different to any base class type. See Object in Java, CObject in MFC, QObject in Qt, etc. The fact is that the GTK way of doing things is starting to show its age and unless something is done about it, creating a new language is not going to solve anything.
Then again, if C compatibility is so important, theres always C++ or Objective-C.
It's also worth noting that GNOME is already developed in C and switching to Vala makes a lot more sense than Java or C#.
I beg to differ. Switch to a brand new language that nobody actively uses does not seem like a sensible thing to me.
But to each his own, I guess. Having said all that, I'll still be keeping an eye on Vala to see how it develops.
Use GCJ and remove the need for the JVM?
Vala works better with the GObject system than Java.
The first implementation of C++, C with classes did that. I find it hard to see how such a thing could be beneficial?
GObject is much better suited to language bindings than C++ and has signals built in, unlike C++.
GObject is a hack that allows some semblance of object oriented programming in C. In a true object oriented library, it's no different to any base class type. See Object in Java, CObject in MFC, QObject in Qt, etc. The fact is that the GTK way of doing things is starting to show its age and unless something is done about it, creating a new language is not going to solve anything.
GObject works well for what it was inteded to do. The use of Vala does not mean that GObject and other GNOME technologies cannot be advanced either.
Then again, if C compatibility is so important, theres always C++ or Objective-C.
Again the crucial difference here is GObject. Whether you like it or not GNOME is built around it and only Vala makes it easy to take advantage of GObject directly.
I beg to differ. Switch to a brand new language that nobody actively uses does not seem like a sensible thing to me.
Syntax for Vala is very familiar and the politics of Java and C# pretty much preclude their use as an official GNOME language. C++ isn't very portable and would ruin some of GNOME's strengths.
Contrary to what you believe I think Vala makes a lot more sense when you take these things into consideration.







Member since:
2005-07-07
So that begs the question. Why design a new language when there isn't anything that sufficiently differentiates it from every other programming language in existence? OK, that veering off into the realm of hyperbole. Still, the point remains.
Both Java and C# use a VM. Vala does not. Vala generates C code. Vala also is specifically geared towards the GObject system of GNOME. Vala gives you a fast, low overhead language with OO features that integrates nicely with GNOME. Neither Java nor C# does that.
It's also worth noting that GNOME is already developed in C and switching to Vala makes a lot more sense than Java or C#.
Edited 2008-07-05 11:33 UTC