The release of the statically typed programming language V 0.5.2 (vlang) recently took place. V was created with main goals of ease of learning and use, high readability, fast compilation, improved security, efficient development, cross-platform use, improved interoperability with the C language, better error handling, a disable garbage collector (GC), modern features, and more maintainable programs. The project is also developing its graphics library and package manager. The code for the compiler, libraries, and related tools is open under the MIT license.
Among the changes in the new version:
- Implemented an initial version of memory ownership management (like Rust) using the -ownership flag. All logic is implemented at compile time, so it does not affect the speed or size of regular V code.
- Added VGC, a parallel garbage collector (tri-color mark-and-sweep), ported from Go.
- Implemented modules for iOS and macOS that allow you to write code without using Objective-C.
- Enabled support for the new V2 compiler backend (“v -v2 file.v”).
- Allowed the use of negative array indexing, for example, “arr#[-1]”.
- Added exponentiation operator “**”.
- Added a new standard mcp module for interacting V-applications with AI models, tools, and services using the MCP protocol (Model Context Protocol).
- Added the ability to overload the “[]” operator.
- The outdated vweb framework, replaced by the web framework some time ago, has been completely removed.
/Reports, release notes, official announcements.