bring vortex
/; Server Setup
var app: vortex::Server = new vortex::Server()
var port = 3000
app.listen(port)
println("Server running at http://127.0.0.1:" + port)
/; Route: Home Page (GET)
while true {
var req: vortex::Request, res: vortex::Response = app.accept()
if req.getMethod() == "GET" && req.getPath() == "/" {
res.status(200)
.header("Content-Type", "text/html")
.send("<h1>Welcome to Flow-Wing</h1>")
}
}
Use strict type and class definitions for core architecture, or utilize supported dyn primitives for flexible variable assignments and scripting.
Compiles directly to optimized machine code using the LLVM infrastructure. The toolchain produces native binaries for macOS, Windows, and Linux without requiring a heavy runtime or interpreter.
Built-in modules cover core requirements including file I/O, JSON serialization, and system utilities. The SDK also includes integrated bindings for Raylib graphics and the Vortex HTTP framework.
Run thousands of tasks on a single thread with no callbacks, no async keywords, and no locks. Each task keeps its own stack, so code that waits on a timer, a file, or a network socket still reads straight down the page. Waiting tasks step aside and let the others run.
Memory is managed for you. There is no manual free, no ownership model to learn, and no lifetime annotations to satisfy. A precise collector tracks exactly what is still reachable and reclaims everything else.