A language in active development

Build with clarity.
Move at the speed of C.

Velox is a compiled programming language designed around a simple idea: approachable syntax, strong type safety, and native performance.

Rust-powered compiler · C code generation
hello.vxVELOX
01fn main() {
02 let message: str = "Hello, Velox!";
03 println(message);
04 let answer: i64 = 6 * 7;
05 println(answer);
06}
Ready to compileUTF-8 · LF
Readable by design. Native by default.
0103
01Simple like PythonClean, familiar syntax
02Safe like RustExplicit types and checks
03Fast like CCompiled native output
THE VELOX APPROACH

Less friction.
More control.

A focused language and compiler toolchain, built to make the path from source code to native executable easy to understand.

⌘
01 / SYNTAX

Readable source

Functions, typed variables, loops, and structs use a compact syntax that keeps the code close to the problem.

fn square(x: i64) -> i64 { return x * x; }
◇
02 / TYPES

Static type checking

Catch incompatible values and invalid operations before generated code is compiled.

↗
03 / OUTPUT

C code generation

The compiler translates Velox source into C, which can then be built with a native C compiler.

⟳
04 / BOOTSTRAP

Self-hosting direction

The self-hosted compiler is being developed through staged compilation and reproducible bootstrap checks.

FIRST STEPS

From .vx
to executable.

Create a source file, invoke the Velox compiler, then compile the generated C output with Clang.

Open the full setup guide ↗
TERMINAL
$ cargo build --release
# Build the Velox compiler
$ cargo run --release --bin veloxc -- hello.vx -o hello
# Generate and build the native executable
$ ./hello
Hello, Velox!
Example workflowzsh / bash
KEEP EXPLORING

Learn the language, one concept at a time.

Go to Tutorial ↗