VORTEX Playground
Experience the power of VORTEX programming language in real-time. Write, compile, and execute CPU + GPU-aware code directly in your browser.
Open in New Tabvortex-lang.onrender.com
Loading VORTEX Playground...
Quick Start Guide
Get started with VORTEX in just a few steps
Basic Syntax
// Hello World in VORTEX
fn main() {
println("Hello, VORTEX!");
}
// Variables and types
let x: i32 = 42;
let name = "VORTEX";Parallel Computing
// Parallel operations
@parallel
fn parallel_sum(arr: Array<i32>) -> i32 {
return arr.parallel_reduce(|a, b| a + b);
}
// GPU acceleration
@gpu_aware
fn vector_add(a: Array<f32>, b: Array<f32>) -> Array<f32> {
parallel_map(a, b, |x, y| x + y)
}Try these examples in the playground above, or explore the full documentation.
View Full Documentation