Vala (programming language)
Appearance
Vala is a new (as of 2007) programming language, targeting GNOME's gobject system.
Paradigm | structured, imperative, object-oriented, f |
---|---|
First appeared | 2006 |
Website | vala |
Influenced by | |
C, C++, C# |
It has a syntax based upon C#. However, unlike C#, it has no runtime system (Vala is compiled directly to C) and so imposes no additional overhead.
Code example
The "hello, world" program:
using GLib; public class Sample { public void run () { stdout.printf ("Hello World\n"); } static int main (string[] args) { var sample = new Sample (); sample.run (); return 0; } }
External links
- The Vala Programming Language, on GNOME Live!