A modern language for a new wave of development
Intuitive syntax, powerful performance, and built-in safety. Wave is designed to boost your productivity and make your application robust.
fun main() {
println("Hello, World!");
}
OUTPUT
Hello, World!
Why choose Wave?
✨
Concise and intuitive
Wave reduces unnecessary code and allows you to focus on core logic. It is easy to learn and enjoyable to use with modern syntax.
// Less boilerplate, more focus
fun handler(req: Request, res: Response) -> void {
var user: User = db.findUser(req.params.id);
res.write(to_json(user));
}
http.route("/users/:id")
.method(HttpMethod.GET)
.handler(handler)
.register();
🚀
Fast and efficient
Compiles to native code, achieving C++ level performance through zero-cost abstractions. Ideal for resource-intensive tasks.
// Compile to native code
// Zero-cost abstractions
fun fib(n: i64) -> i64 {
if (n <= 1) {
return n;
}
return fib(n - 1) + fib(n - 2);
}
🛡️
Safe and concurrent
Prevents common bugs like null reference errors at compile time. Built-in concurrency model makes multicore programming easier than ever.
// No null pointer exceptions
var name: str? = fetchName();
// Compiler ensures safe access
println(name?.length() ?? 0);
Contributors
Sponsors
Participate in Wave translation
Contribute translations to help developers around the world learn Wave without language barriers.
🌐 Participate in translation on CrowdinJoin Our Community
Connect with other developers, ask questions, and share your projects.
Loading...