Programmer's Wiki
Advertisement

Vala is a structured, imperative, and OOP Language[1]. It relies on C, and GLib, and thus can run on most platforms. It has support for Interfaces, Lambda expressions, Generics, and Assisted memory management.

Hello World[]

using Glib;

public class Hello : Object {
    public static void main (string[] args) {
        stdout.printf("%s", "Hello World");
        return 0;
    }
}

References[]

  1. "Vala - GNOME Live!". 19, Dec 2009 <http://live.gnome.org/Vala>.
16px-Pencil
Advertisement