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.
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- Native
compilation - Strict
types - Generics
- Coroutines
- Package
manager - Cross
compiling
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.0Median of 3 runs after one warm-up.
Valk 0.6.0 · Go 1.27.1 · Rust 1.97.1
Published results and source ↗
Median of 3 runs after one warm-up.
Valk 0.6.0 · Go 1.27.1 · Rust 1.97.1
Published results and source ↗
Rust hyper · Go fasthttp. Requests per second.
4 workers pinned to 4 cores; wrk on 8 other cores.
900 keep-alive connections, 16 pipelined requests.
Median of three 5-second runs.
Published HTTP results and source ↗
Built in the open.
Explore the source, follow the roadmap,
or join the conversation.