Languages
V (Vlang)
Installing V on Ubuntu in TIDE
V (Vlang)
V is a simple, fast, safe, and compiled programming language designed for building maintainable software.
Installation
Install build dependencies and compile V from source:
apt update
apt install -y git make gccClone and build V:
git clone --depth=1 https://github.com/vlang/v /opt/v
cd /opt/v
make
/opt/v/v symlinkVerify installation:
v versionHello World Example
Create a file named main.v:
fn main() {
println('Hello, TIDE!')
}Running the Code
Compile and run the V program:
v run main.v