V Programming Language

V Programming Language

vlang.dev

1

About this website

V is a statically typed, compiled programming language designed for building maintainable software, combining the performance of Go and Rust with the simplicity and compilation speed of scripting languages. Created by Alexander Medvednikov in 2019, V aims to be as fast as C, as safe as Rust, and as simple as Go, with compilation in milliseconds. Key features: fast compilation: approximately 1 million lines of code per second per CPU core, with V itself (50,000+ lines) compiling in under 0.5 seconds. Generates native machine code via C/LLVM/JavaScript backends. Memory safety: no null pointers, no undefined behavior, bounds checking, option/result types (no exceptions), automatic memory management without GC (autofree mode inserts free() at compile time). Syntax: Go-inspired with no semicolons, structs, interfaces, sum types, generics (0.2+), and pattern matching. Concurrency: lightweight threads (spawn) and channels on a cooperative scheduler. Cross-compilation for any target without special toolchains. Hot code reloading for graphical applications. C interop via #flag and C. prefix. vweb: built-in web framework. Native cross-platform GUI library (vui). Built-in ORM with type-safe queries. JSON serialization. Regular expressions. Built-in test runner with assertions. Package manager (vpm). Cross-platform: Linux, macOS, Windows, FreeBSD, Android, RISC-V. MIT.

Tags & Categories

Categories

Tags

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!