Vala Programming Language

vala code sample

Open-Source: Vala is free and open-source software. It has a great community that contributes to the compiler and develops lots of tooling.

Performance: Vala compiles code down to blazingly fast, fully native binaries. You're also able to reuse existing C Code in your Vala programs as well as generate C Code from Vala.


Vala Release Notes

Vala 0.56.17
===========
 * Various improvements and bug fixes:
  - vala: Don't unconditionally expect ObjectType of Class [#1341]
  - vala: Make try-statement parsing more resilient [#1304]
  - vala: Avoid problems with '\' in #line directives on Windows [#1353]
  - gidlparser: Set source reference of parameters

 * Bindings:
  - atspi-2: Fix a few binding errors
  - glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 [#1350]
  - gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute

Install Vala

======= Linux

Fedora:
$ sudo dnf install vala

CentOS:
$ sudo yum install vala

Debian:
$ sudo apt install valac

Ubuntu:
$ sudo add-apt-repository ppa:vala-team
$ sudo apt-get install software-properties-common
$ sudo apt-get update
$ sudo apt-get install valac

======= BSD

OpenBSD:
$ doas pkg_add vala

FreeBSD:
$ sudo pkg install vala

======= MacOS

HomeBrew: (requires to install first the Brew Package Manager)
$ brew install vala

======= Windows

MSYS2: (requires to install first the MSYS2 installer)
> pacman -S mingw-w64-x86_64-gcc
> pacman -S mingw-w64-x86_64-pkg-config
> pacman -S mingw-w64-x86_64-vala

WSL: (activate the Windows Subsystem for Linux)
bash$ sudo apt install valac




2022 vala-language.org