Introduction
V is a statically typed compiled programming language designed for building maintainable software.
It is influenced by Go, Oberon, Rust, Swift, Kotlin, and Python. V looks like Go and is nearly as simple, but it compiles much faster and offers more safety features.
Despite being simple, V covers all the fields: systems programming, web development, game development, GUI apps, mobile, science, embedded, tools, and more.
Key Features
- Simple — Learn the entire language over a weekend. If you know Go, you already know ~80% of V.
- Fast compilation — ~110k–1.2M lines of code per second per CPU core. V compiles itself in under 1 second.
- Safe — No null, no global variables, no undefined behaviour. Immutability by default.
- Performance — As fast as C. Compiles to human-readable C.
- Zero dependencies — The compiler is only 400 KB with no external dependencies.
- C/C++ translation — Translate entire C/C++ projects to V automatically.
- Hot code reloading — Change code while the app is running without losing state.
- Built-in ORM & web framework — Everything you need is in the standard library.
Where to Start
- Installation — Build V from source or download binaries.
- Hello World — Your first V program.
- Variables — How to declare and use variables.
- Functions — Defining and calling functions.
External Resources
- Official Documentation — Full language reference
- Standard Library — Module API reference
- Playground — Run V code in the browser
- Package Manager — Browse and publish V packages
