The only compiled language where AI is a builtin.
let answer = ai_ask("anything", "")
No imports. No pip. No runtime. Just ship.
Get FORGE on your machine in one command:
curl -fsSL https://forgelang.dev/install.sh | bash
Or with Docker:
docker run forgelang/forge --version
💻 macOS (Apple Silicon): curl -fsSL https://forgelang.dev/install.sh | bash · 🐧 Linux x86_64 / ARM64: same · 🪟 Windows: download forge.exe
Real benchmarks measured on this server (Linux x86_64). Last updated: 14 July 2026 — Full benchmark page →
| Language | Lexer / Throughput | String Ops (1M iter) | fib(30) Runtime | GC Pauses |
|---|---|---|---|---|
| Python | — | 248 ms | 279 ms | Yes |
| Go | — | 224 ms | <1 ms | Yes |
| C (gcc -O2) | — | 91 ms | <1 ms | No (unsafe) |
| ⚡ FORGE v0.4.0 | 304 MB/s lexer | 59 ms ✓ fastest | <1 ms | Never |
Not one-or-two. All ten. In a single binary.
ai_ask(), ai_classify(), ai_translate() — no imports, no SDK, zero boilerplate. No other compiled language has this.
Write a normal loop, add @parallel — compiler splits it across all CPU cores. No threads, no mutexes.
region { } — memory freed when block exits. Faster than GC, safer than manual. A third path.
http_listen, http_accept, http_respond — POSIX sockets as builtins. No Express, no Flask.
SDL2 built into the language — sdl_create_window(), sdl_poll_event(). Start a game without touching C FFI.
Monomorphisation like Rust — generic code compiles to type-specific machine code. No boxing, no vtable cost.
Built-in async functions, native spawn — no framework required. Write concurrent AI pipelines in 5 lines.
str_upper(), str_replace(), math_sin(), math_random() — no imports. Native C speed.
Linux, Windows, Android/ARM64, Web/WASM, macOS — from one .forge file with --target flag.
forge new myapp creates project structure in 1 second. forge.toml + main.forge ready to build.
For 30 years, developers had to choose two of three: Fast. Safe. Simple. FORGE ends that trade-off.
No GC pauses. No unpredictable latency spikes. Memory is managed through Ownership Regions — freed automatically when a scope exits, at zero runtime cost.
Feels like PythonWrite sequential code. FORGE's compiler analyses data dependencies and automatically distributes work across all CPU and GPU cores. Zero threading code. Ever.
Compiler does the workZero-copy mmap streaming with hardware prefetch built into the language core. Not a library. Not a plugin. Load 50GB of game world data from RAM in under 2 seconds at 51–109 GB/s. Measured. It's the runtime's job.
Zero-copy by defaultOne codebase. Compile to native binary, WebAssembly, game engine, embedded systems, or AI inference — the FORGE compiler handles the target.
Write once, run everywhereFORGE compiles to native binaries via LLVM — no VM, no runtime overhead. Pure hardware efficiency.
Native binary via LLVMAsset streaming, entity-component system, physics loops — all first-class language features, not afterthoughts. Game devs won't touch another engine.
v0.4.0 — AI stdlib · 26 examples · 5 platforms ✓FORGE syntax is clean, readable, and expressive. The compiler handles everything hard.
Every phase ships something real. No vaporware.
Benchmark suite proving FORGE performance claims on real hardware.
Working FORGE runtime: memory regions, fiber scheduler, async streams, stdlib v0.7 — engine (ECS/physics/audio) · llm (tokenizer/attention/inference) · math · io · crypto · net.
Full FORGE compiler: lexer, parser, typechecker, LLVM IR codegen, optimizer.
Native ECS game engine, ForgeHub package registry, LSP server.
WebGPU backend, incremental compile cache, DWARF debug info, module resolver.
End-to-end native binary output. Web IDE. Package registry. VS Code extension published.
Real @parallel pthread dispatch with 4-thread worker splitting.
Complete ecosystem launch with Game Engine stdlib, LLM inference engine, 6 new CLI commands, and 4 new live sites.
Advanced compiler features: f32/f64 types, file read/write builtins, @parallel auto-parallelisation with LLVM thread codegen, and --emit-ir for LLVM IR introspection.
Cross-compilation pipeline with WebAssembly, ARM64 and Windows targets, SDL2 game bindings, and GPU-annotated functions with CPU fallback.
Real language features: f32/f64 arithmetic, str type, file I/O, HTTP sockets, LLVM -O2 release builds.
Cross-platform compilation: WebAssembly, ARM64, Windows, SDL2 game bindings, @gpu dispatch.
forge build --target wasm32 → .wasm binaryforge build --target aarch64-linux-gnu → ELF ARM64forge build --target x86_64-windows → PE32+ .exe11 live websites and services — everything is working right now.
forge build hello.forge
→
ELF 64-bit x86-64 · 60ms · runs natively
FORGE is being built in public. Follow the journey, star the repo, join the community.