The Valk programming language

A fast, simple & safe
programming language.

Native performance, a strict type system, and concise syntax. Build for Linux, macOS, and Windows.

server.valk
use valk.http

fn handler(req: http.Request) http.Response {
    return http.Response.text("Hello world!")
}

fn main() {
    let server = http.Server.new("127.0.0.1", 9000, handler)
    server.start() ! panic("Failed to start server")
}

$ valk build server.valk --run

$ curl http://127.0.0.1:9000

Hello world!

Install Valk

curl -sSL https://valk-lang.dev/install.sh | bash

Performance

Native code.
Measurable performance.

Valk compiles to native code. Explore the workloads, source, and methodology behind the benchmarks.

Explore benchmarks on GitHub ↗

Benchmark explorer

Valk 0.6.0
Binary trees · input 19Lower is better
Valk
0.620s
Go
1.340s
Rust
2.600s

Median of 3 runs after one warm-up.
Valk 0.6.0 · Go 1.27.1 · Rust 1.97.1
Published results and source ↗

Open source Versioned releases Built-in file watcher

Built in the open.

Explore the source, follow the roadmap,
or join the conversation.