The main source repository for the Rust programming language, containing the compiler, standard library, and documentation.
vlang/v
A simple, fast, compiled programming language for maintainable software, with zero library dependencies and automatic C-to-V translation.
- Stars
- 38,029
- Forks
- 2,305
- Open issues
- 68
- Last commit
- 9 hours ago
What is it?
V is a statically typed, compiled programming language aimed at developers who want a small, readable language that compiles quickly. The project states that V compiles itself in under a second and has no library dependencies. Its main backend emits human-readable C, and the project also provides C and JavaScript backends, along with a REPL and cross-compilation.
The language emphasizes safety with no null values, no globals, and immutability by default. Memory management is configurable: a garbage collector is the default, with options for manual memory management, arena allocation, or autofree. Built-in pieces include an ORM, the veb web framework, and a graphics library, and a cross-platform UI library lives in a separate repository.
V also includes a tool for translating C code into V, and the README highlights Vinix, an OS kernel written in V, as an example of low-level work in the language.
Key features
- 01Compiles itself in under a second with no library dependencies
- 02Main backend emits human-readable C, with C and JavaScript backends also available
- 03No null, no globals, and immutability by default
- 04Configurable memory management: GC, manual, arena, or autofree
- 05Built-in ORM, web framework (veb), and graphics library
- 06Automatic C to V translation
Use cases
- Writing maintainable command-line tools or backend services in a compact language
- Building low-level software such as drivers or kernels
- Translating existing C code into V
- Building small web applications with the built-in veb framework
Quick start
- 1
Clone the V repository
git clone --depth=1 https://github.com/vlang/v - 2
Enter the repository directory
cd v - 3
Build the V executable
make - 4
Run the hello world example
./v run examples/hello_world.v
Things to know
- The README says the language is early-stage and will still have changes before 1.0.
Topics
FAQ
- What is v?
- A simple, fast, compiled programming language for maintainable software, with zero library dependencies and automatic C-to-V translation. V is a statically typed, compiled programming language aimed at developers who want a small, readable language that compiles quickly. The project states that V compiles itself in under a second and has no library dependencies. Its main backend emits human-readable C, and the project also provides C and JavaScript backends, along with a REPL and cross-compilation.
- Is v free to use? What license does it have?
- v is open source under the MIT license. Check the license terms before using it in commercial products.
- Is v still maintained?
- Actively maintained. The last commit to v was on Oct 21, 2026.
- What can I use v for?
- Writing maintainable command-line tools or backend services in a compact language Building low-level software such as drivers or kernels Translating existing C code into V Building small web applications with the built-in veb framework
- How do I install v?
- Clone the V repository: git clone --depth=1 https://github.com/vlang/v Enter the repository directory: cd v Build the V executable: make Run the hello world example: ./v run examples/hello_world.v
- Where can I get v?
- The source code and installation instructions are on GitHub: https://github.com/vlang/v
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
The Go programming language, an open source language for building simple, reliable, and efficient software.
Sway is a Rust-inspired programming language for writing smart contracts on the Fuel blockchain.
Solidity is a statically-typed, contract-oriented programming language for writing smart contracts on the Ethereum platform.
A typed superset of JavaScript that adds optional static types and compiles to readable, standards-based JavaScript.
The Kotlin programming language and its compiler, standard library, and build tooling, developed by JetBrains for multiplatform development.