Skip to content
torvik-lang edited this page Jul 30, 2026 · 4 revisions

Welcome to the Torvik Wiki

Torvik is a self-hosting, compiled, general-purpose programming language focused on performance, simplicity, and systems development.

Quick Links

What is Torvik?

Torvik is a statically-typed, compiled language that produces native binaries with no virtual machine or garbage collector. It features:

  • Automatic reference counting for deterministic memory management
  • Systems and OS development — raw pointers, shape value structs, volatile MMIO, inline assembly, and freestanding builds that boot on bare hardware (Forge your first kernel)
  • Concurrency without data races — raven tasks and typed bridge channels
  • Optional (^) and variadic (*) function parameters, with call-site type checking
  • Networking, opt-in — apply std::net; for a small HTTP layer with binary-safe file serving
  • Self-hosting compiler and tools (written in Torvik itself)
  • Clean, Norse-inspired syntax (df, check, whilst, guard, rune, etc.)
  • Strong focus on usability and performance

Quick Example

df main() -> void {
    echo!("Hello from Torvik!");
}

Useful Resources

Clone this wiki locally