Object-oriented. Functional. Fast.
Everything you need ships in the box.
use Collection;
class Main {
function : Main(args : String[]) ~ Nil {
words := Vector->New()<String>;
words->AddBack("compiler");
words->AddBack("jit");
words->AddBack("collector");
lengths := words->Map(\(String) ~ IntRef : (w) => IntRef->New(w->Size()));
each(i : words) {
"{$(words->Get(i))}: {$(lengths->Get(i)->Get())}"->PrintLine();
};
triple := \(Int) ~ Int : (x) => x * 3;
triple(14)->PrintLine();
}
}
$ obc -src lambdas.obs $ obr lambdas.obe compiler: 8 jit: 3 collector: 9 42
Features
Compiled to native code by a JIT
Hot methods on AMD64 and ARM64. Call: 26.5 → 5.5 ns.
SQL in the language
Typed in-memory tables, joins, indexes.
Network built in
HTTP/1.1, HTTP/2, HTTP/3, WebSocket, TLS, server.
ML and AI
Trees, SVMs, ONNX, OpenCV, LLM clients, MCP, agents.
Generational GC
Nursery, write barrier, parallel marking.
Tooling
Language server, debugger, REPL, browser playground.
Fast, measured
| Benchmark | Objeck | CPython 3.12 | LuaJIT 2.1 | Java 21 |
|---|---|---|---|---|
| nbody, 50M | 8.15 | 144.46 | 4.29 | 2.29 |
| spectralnorm, 5500 | 2.91 | 126.57 | 1.12 | 1.18 |
| fannkuchredux, 12 | 33.24 | 422.92 | 116.46 | 20.50 |
| mandelbrot, 4000 | 1.90 (0.98 on 3 threads) | 33.20 | 0.73 | 0.70 |
| binarytrees, 17 | 2.03 | 3.55 | 3.53 | 0.24 |
Ahead of CPython on all six benchmarks (1.7x to 43.5x). Ahead of LuaJIT on fannkuchredux and binarytrees, level on fasta, behind on nbody, spectralnorm and mandelbrot. Behind Java on all six. A compiled call costs 5.5 ns, a virtual call 6.0 ns (v2026.9.1, AMD64). Five of the six Objeck programs mark hot methods native; the peers have no equivalent.
Latest release
v2026.11.3
Released 22 November 2026
- Performance: RegEx uses a lazily built DFA
- Security: The OpenAI, Gemini and Anthropic clients no longer hand out an API key while TLS certificate checking is off
- Changed: Console->ReadLine returns Nil at the end of input