Compile native programs.
Use the Ku CLI to build a native executable. Check the supported language subset and dependencies for your target.
Installation & downloadsThis page is not yet translated into your selected language. You have been returned to that language’s home page.
THE KU PROGRAMMING LANGUAGE
Ku is a programming language with explicit ownership for resource management. Write programs with concise syntax and clear error handling, starting with the interpreter or choosing native C compilation.
+Ku is an experimental language. See supported execution paths and known issues.
01 — THE APPROACH
Learn the language through its ownership rules, Result errors and three execution paths.
Use the Ku CLI to build a native executable. Check the supported language subset and dependencies for your target.
Installation & downloadsExpress asynchronous tasks with async/await while the runtime handles execution and scheduling within the supported backend scope.
Language guideBound service connections, active requests, waiting queues and buffers. OS limits depend on the platform and deployment.
Support matrix02 — PERFORMANCE
0.0.19: one sequential round across seven languages in a Linux ARM64 VM, with four CPU cores per service and 30 seconds per workload. Values compare service CPU time per correct request (Ku/Rust), not request latency.
About 32% lower
Ku/Rust ≈ 0.678
About 26% higher
Ku/Rust ≈ 1.260
About 35% higher
Ku/Rust ≈ 1.350
A single round is not capacity or long-term acceptance. Host paging and long-tail latency remain. PG pool-reset semantics differ. This round measured cgroup memory, not RSS; no RSS comparison is made.
Fixed-load observations03 — IN PRACTICE
Import a module, create data and encode it as JSON. Here, ? passes an encoding error to the caller of main.
Read the JSON referenceimport json from "std.json"
fn main(): null! {
message = { language: "Ku", hello: "world" }
text = json.encode(message)?
println(text)
return ok(null)
}{"hello":"world","language":"Ku"}04 — FIND YOUR WAY
BUILDING WITH CARE, STILL IN PROGRESS
Ku v0.0.20 is available with a CLI, VS Code extension and standard library. Try it, report issues or contribute to its development.
Licensed under Apache-2.0. See LICENSE and NOTICE.