Hello World
Let's create a simple Rux console application that prints "Hello World!" on the screen.
Creating Project
We a going to create the first application of every programmer. Let's run the Rux toolchain.
bash
rux new HelloWorld
cd HelloWorld
code .Main Function
Insert this snippet into the Main.rux file
rux
use System::Print;
func Main(): int32
{
Print("Hello World!");
return 0;
}Building and Running
bash
rux build
rux runOutput
Hello World!Source Code
Please refer to the GitHub repository.