Basic
Std
Hello world
print ("hello, world\n");
//If you don't need to allocate memory in the heap then main is not neededUser Input
stdout.printf (@"Your name is : $(stdin.read_line ())");Mathematics
stdout.printf ("Please enter the radius of a circle: ");
double radius = double.parse (stdin.read_line ());
stdout.printf ("Circumference: %g\n", 2 * Math.PI * radius);
stdout.printf ("sin(pi/2) = %g\n", Math.sin (Math.PI / 2));Random Numbers
var rand = Random.int_range (1, 49);Reading and Writing Text File Content
Spawning Processes
Timer
OS Specific
Network
Soup Library
GIO (Vala standart input output library)
Signals with data (Qt like)
Native Regular Expression Literals
Class
GObject Constructor Class
Structs
DBus
Server
Client
HTML5 Generate
Gpseq (C# Linq/Java Stream API, Go lang Chanels and Parallelism)
Parallel sorting
Simple Parallel Data Processing
GoLang like channels
simple example
Complex example
GoLang like Managed Blocked Parallelism
GObject
3 Types of classes

Run-Time Type Information
Dynamic Type Casting
Last updated
Was this helpful?