The Chuks Programming Language
A modern programming language that's simple to learn, fast to run, and expressive enough for real-world applications. Built-in VM, AOT compiler, HTTP server, and concurrency, all in one toolchain. It bridges the gap between Go-level performance and developer-friendly expressiveness, delivering a unified toolchain that includes a high-performance HTTP runtime and native concurrency.
curl -fsSL https://raw.githubusercontent.com/chuks-programming-language/releases/main/install.sh | bash Why Chuks?
Chuks offers a clean, readable syntax inspired by Go and TypeScript, backed by an AOT compiler and a custom built VM. No more glue code—just write once and run everywhere with near-native execution speeds.
- ✓ Simple: No boilerplate.
- ✓ Fast: AOT compilation.
- ✓ Expressive: Multi-paradigm (OOP + Functional).
import { http } from "std/http"
dataType User {
id: int
name: string
}
async func fetchUser(id: int): Task<User> {
const resp = await http.get("https://api.example.com/users/" + id)
return json.parse(resp.body) as User
} What's Possible
From low-level data engineering to high-concurrency microservices, Chuks scales with you. It ships with a Batteries-Included standard library containing HTTP, JSON, OS, Math, Regex, and Database modules out of the box.
Build a production-ready HTTP server in seconds without reaching for third-party dependencies.
import { createServer } from "std/http"
var server = createServer()
server.get("/ping", func(req, res) {
res.json({ "status": "ok", "msg": "pong" })
})
server.listen(3000)
println("High-performance API up on :3000") Intuitive Concurrency
Chuks natively supports both sequential async/await and fire-and-forget concurrent tasks. Spin up millions of lightweight tasks using spawn without blocking the main execution loop.
// 1. Sequential async — wait for result
const data = await fetchData("https://api...")
// 2. Parallel spawn — fire and forget
spawn backgroundJob()
// 3. Await it later
var task = spawn heavyComputation()
// ... do other work ...
var result = await task; True Parallel Computing
Maximize hardware utilization. Chuks exposes robust primitives for multi-core parallelism. Effortlessly offload CPU-bound calculations and coordinate with thread-safe channels.
Get Started in Seconds
Section titled “Get Started in Seconds”VS Code Extension
Section titled “VS Code Extension”For the best development experience, install the official Chuks VS Code extension from the marketplace. It provides syntax highlighting, code completion, hover documentation, and direct CLI integration.
Feedback & Bug Reports
Section titled “Feedback & Bug Reports”Chuks is in early development and we’d love your feedback! If you find a bug, have a question, or want to suggest a feature: